[PATCH] ARM: dts: at91: sam9x60: fix mux-mask to match product's datasheet

From: nicolas.ferre
Date: Mon Mar 08 2021 - 13:46:41 EST


From: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>

Fix the whole mux-mask table according to datasheet for the sam9x60
product. Too much functions for pins were disabled leading to
misunderstandings when enabling more peripherals or taking this table
as an example for another board.

Signed-off-by: Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx>
Fixes: 1e5f532c2737 ("ARM: dts: at91: sam9x60: add device tree for soc and board")
Cc: <stable@xxxxxxxxxxxxxxx> # 5.6+
Cc: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun@xxxxxxxxxxxxx>
---
arch/arm/boot/dts/at91-sam9x60ek.dts | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/boot/dts/at91-sam9x60ek.dts b/arch/arm/boot/dts/at91-sam9x60ek.dts
index 4c40ae571154..63207c952223 100644
--- a/arch/arm/boot/dts/at91-sam9x60ek.dts
+++ b/arch/arm/boot/dts/at91-sam9x60ek.dts
@@ -336,9 +336,9 @@ ethernet-phy@0 {
&pinctrl {
atmel,mux-mask = <
/* A B C */
- 0xFFFFFEFF 0xC0E039FF 0xEF00019D /* pioA */
- 0x03FFFFFF 0x02FC7E68 0x00780000 /* pioB */
- 0xffffffff 0xF83FFFFF 0xB800F3FC /* pioC */
+ 0xFFFFFFFF 0xFFE03FFF 0xEF00019D /* pioA */
+ 0x03FFFFFF 0x02FC7E7F 0x00780000 /* pioB */
+ 0xffffffff 0xFFFFFFFF 0xF83FFFFF /* pioC */
0x003FFFFF 0x003F8000 0x00000000 /* pioD */
>;

--
2.30.1