Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'at91-ab-4.10-dt1' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux into next/dt

DT changes for 4.10:

- Many additions for sama5d2
- few non urgent fixes for sam9260ek, sama5d4 and sama5d2

* tag 'at91-ab-4.10-dt1' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
ARM: dts: at91: replace gpio-key,wakeup with wakeup-source for sam9260ek
ARM: dts: at91: sama5d2: Add securam node
ARM: dts: at91: sama5d2: Add secumod node
ARM: dts: at91: sama5d2: use correct sckc compatible
ARM: dts: at91: sama5d4: use proper sckc compatible
ARM: dts: at91: fixes dbgu pinctrl, set pullup on rx, clear pullup on tx
dt-bindings: usb: atmel: fix a couple of copy-paste style typos
ARM: dts: at91: sama5d2: enable FIFOs for high-speed i2c controllers
ARM: dts: at91: sama5d4: Add new MA5D4EVK manufacturer compat

Signed-off-by: Olof Johansson <olof@lixom.net>

+60 -76
+5 -5
Documentation/devicetree/bindings/usb/atmel-usb.txt
··· 6 6 - compatible: Should be "atmel,at91rm9200-ohci" for USB controllers 7 7 used in host mode. 8 8 - reg: Address and length of the register set for the device 9 - - interrupts: Should contain ehci interrupt 9 + - interrupts: Should contain ohci interrupt 10 10 - clocks: Should reference the peripheral, host and system clocks 11 - - clock-names: Should contains two strings 11 + - clock-names: Should contain three strings 12 12 "ohci_clk" for the peripheral clock 13 13 "hclk" for the host clock 14 14 "uhpck" for the system clock ··· 35 35 - reg: Address and length of the register set for the device 36 36 - interrupts: Should contain ehci interrupt 37 37 - clocks: Should reference the peripheral and the UTMI clocks 38 - - clock-names: Should contains two strings 38 + - clock-names: Should contain two strings 39 39 "ehci_clk" for the peripheral clock 40 40 "usb_clk" for the UTMI clock 41 41 ··· 58 58 - reg: Address and length of the register set for the device 59 59 - interrupts: Should contain macb interrupt 60 60 - clocks: Should reference the peripheral and the AHB clocks 61 - - clock-names: Should contains two strings 61 + - clock-names: Should contain two strings 62 62 "pclk" for the peripheral clock 63 63 "hclk" for the AHB clock 64 64 ··· 85 85 - reg: Address and length of the register set for the device 86 86 - interrupts: Should contain usba interrupt 87 87 - clocks: Should reference the peripheral and host clocks 88 - - clock-names: Should contains two strings 88 + - clock-names: Should contain two strings 89 89 "pclk" for the peripheral clock 90 90 "hclk" for the host clock 91 91 - ep childnode: To specify the number of endpoints and their properties.
+2 -2
arch/arm/boot/dts/at91-sama5d4_ma5d4.dtsi
··· 12 12 #include "sama5d4.dtsi" 13 13 14 14 / { 15 - model = "DENX MA5D4"; 16 - compatible = "denx,ma5d4", "atmel,sama5d4", "atmel,sama5"; 15 + model = "Aries/DENX MA5D4"; 16 + compatible = "aries,ma5d4", "denx,ma5d4", "atmel,sama5d4", "atmel,sama5"; 17 17 18 18 memory { 19 19 reg = <0x20000000 0x10000000>;
+2 -2
arch/arm/boot/dts/at91-sama5d4_ma5d4evk.dts
··· 13 13 #include "at91-sama5d4_ma5d4.dtsi" 14 14 15 15 / { 16 - model = "DENX MA5D4EVK"; 17 - compatible = "denx,ma5d4evk", "atmel,sama5d4", "atmel,sama5"; 16 + model = "Aries/DENX MA5D4EVK"; 17 + compatible = "aries,ma5d4evk", "denx,ma5d4evk", "atmel,sama5d4", "atmel,sama5"; 18 18 19 19 chosen { 20 20 stdout-path = "serial3:115200n8";
+2 -2
arch/arm/boot/dts/at91rm9200.dtsi
··· 481 481 dbgu { 482 482 pinctrl_dbgu: dbgu-0 { 483 483 atmel,pins = 484 - <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA30 periph A */ 485 - AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA31 periph with pullup */ 484 + <AT91_PIOA 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 485 + AT91_PIOA 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; 486 486 }; 487 487 }; 488 488
+2 -2
arch/arm/boot/dts/at91sam9260.dtsi
··· 412 412 dbgu { 413 413 pinctrl_dbgu: dbgu-0 { 414 414 atmel,pins = 415 - <AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB14 periph A */ 416 - AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB15 periph with pullup */ 415 + <AT91_PIOB 14 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 416 + AT91_PIOB 15 AT91_PERIPH_A AT91_PINCTRL_NONE>; 417 417 }; 418 418 }; 419 419
+2 -2
arch/arm/boot/dts/at91sam9260ek.dts
··· 174 174 label = "Button 3"; 175 175 gpios = <&pioA 30 GPIO_ACTIVE_LOW>; 176 176 linux,code = <0x103>; 177 - gpio-key,wakeup; 177 + wakeup-source; 178 178 }; 179 179 180 180 btn4 { 181 181 label = "Button 4"; 182 182 gpios = <&pioA 31 GPIO_ACTIVE_LOW>; 183 183 linux,code = <0x104>; 184 - gpio-key,wakeup; 184 + wakeup-source; 185 185 }; 186 186 }; 187 187
+2 -2
arch/arm/boot/dts/at91sam9261.dtsi
··· 302 302 dbgu { 303 303 pinctrl_dbgu: dbgu-0 { 304 304 atmel,pins = 305 - <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE>, 306 - <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 305 + <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 306 + <AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; 307 307 }; 308 308 }; 309 309
+2 -2
arch/arm/boot/dts/at91sam9263.dtsi
··· 412 412 dbgu { 413 413 pinctrl_dbgu: dbgu-0 { 414 414 atmel,pins = 415 - <AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PC30 periph A */ 416 - AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PC31 periph with pullup */ 415 + <AT91_PIOC 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 416 + AT91_PIOC 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; 417 417 }; 418 418 }; 419 419
+2 -2
arch/arm/boot/dts/at91sam9g45.dtsi
··· 478 478 dbgu { 479 479 pinctrl_dbgu: dbgu-0 { 480 480 atmel,pins = 481 - <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB12 periph A */ 482 - AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* PB13 periph A */ 481 + <AT91_PIOB 12 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 482 + AT91_PIOB 13 AT91_PERIPH_A AT91_PINCTRL_NONE>; 483 483 }; 484 484 }; 485 485
+2 -2
arch/arm/boot/dts/at91sam9n12.dtsi
··· 500 500 dbgu { 501 501 pinctrl_dbgu: dbgu-0 { 502 502 atmel,pins = 503 - <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */ 504 - AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA10 periph with pullup */ 503 + <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 504 + AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; 505 505 }; 506 506 }; 507 507
+2 -2
arch/arm/boot/dts/at91sam9rl.dtsi
··· 438 438 dbgu { 439 439 pinctrl_dbgu: dbgu-0 { 440 440 atmel,pins = 441 - <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_NONE>, 442 - <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; 441 + <AT91_PIOA 21 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>, 442 + <AT91_PIOA 22 AT91_PERIPH_A AT91_PINCTRL_NONE>; 443 443 }; 444 444 }; 445 445
+2 -2
arch/arm/boot/dts/at91sam9x5.dtsi
··· 460 460 dbgu { 461 461 pinctrl_dbgu: dbgu-0 { 462 462 atmel,pins = 463 - <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_NONE /* PA9 periph A */ 464 - AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PA10 periph A with pullup */ 463 + <AT91_PIOA 9 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 464 + AT91_PIOA 10 AT91_PERIPH_A AT91_PINCTRL_NONE>; 465 465 }; 466 466 }; 467 467
+25 -22
arch/arm/boot/dts/sama5d2.dtsi
··· 735 735 atmel,clk-output-range = <0 83000000>; 736 736 }; 737 737 738 + securam_clk: securam_clk { 739 + #clock-cells = <0>; 740 + reg = <51>; 741 + }; 742 + 738 743 i2s0_clk: i2s0_clk { 739 744 #clock-cells = <0>; 740 745 reg = <54>; ··· 1035 1030 #address-cells = <1>; 1036 1031 #size-cells = <0>; 1037 1032 clocks = <&twi0_clk>; 1033 + atmel,fifo-size = <16>; 1038 1034 status = "disabled"; 1039 1035 }; 1040 1036 ··· 1062 1056 #size-cells = <1>; 1063 1057 ranges = <0x0 0xf8038000 0x800>; 1064 1058 status = "disabled"; 1059 + }; 1060 + 1061 + securam: sram@f8044000 { 1062 + compatible = "atmel,sama5d2-securam", "mmio-sram"; 1063 + reg = <0xf8044000 0x1420>; 1064 + clocks = <&securam_clk>; 1065 + #address-cells = <1>; 1066 + #size-cells = <1>; 1067 + ranges = <0 0xf8044000 0x1420>; 1065 1068 }; 1066 1069 1067 1070 rstc@f8048000 { ··· 1103 1088 status = "disabled"; 1104 1089 }; 1105 1090 1106 - sckc@f8048050 { 1107 - compatible = "atmel,at91sam9x5-sckc"; 1091 + clk32k: sckc@f8048050 { 1092 + compatible = "atmel,sama5d4-sckc"; 1108 1093 reg = <0xf8048050 0x4>; 1109 1094 1110 - slow_rc_osc: slow_rc_osc { 1111 - compatible = "atmel,at91sam9x5-clk-slow-rc-osc"; 1112 - #clock-cells = <0>; 1113 - clock-frequency = <32768>; 1114 - clock-accuracy = <250000000>; 1115 - atmel,startup-time-usec = <75>; 1116 - }; 1117 - 1118 - slow_osc: slow_osc { 1119 - compatible = "atmel,at91sam9x5-clk-slow-osc"; 1120 - #clock-cells = <0>; 1121 - clocks = <&slow_xtal>; 1122 - atmel,startup-time-usec = <1200000>; 1123 - }; 1124 - 1125 - clk32k: slowck { 1126 - compatible = "atmel,at91sam9x5-clk-slow"; 1127 - #clock-cells = <0>; 1128 - clocks = <&slow_rc_osc &slow_osc>; 1129 - }; 1095 + clocks = <&slow_xtal>; 1096 + #clock-cells = <0>; 1130 1097 }; 1131 1098 1132 1099 rtc@f80480b0 { ··· 1228 1231 #address-cells = <1>; 1229 1232 #size-cells = <0>; 1230 1233 clocks = <&twi1_clk>; 1234 + atmel,fifo-size = <16>; 1231 1235 status = "disabled"; 1232 1236 }; 1233 1237 ··· 1256 1258 gpio-controller; 1257 1259 #gpio-cells = <2>; 1258 1260 clocks = <&pioA_clk>; 1261 + }; 1262 + 1263 + secumod@fc040000 { 1264 + compatible = "atmel,sama5d2-secumod", "syscon"; 1265 + reg = <0xfc040000 0x100>; 1259 1266 }; 1260 1267 1261 1268 tdes@fc044000 {
+2 -2
arch/arm/boot/dts/sama5d3.dtsi
··· 549 549 dbgu { 550 550 pinctrl_dbgu: dbgu-0 { 551 551 atmel,pins = 552 - <AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_NONE /* PB30 periph A */ 553 - AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* PB31 periph A with pullup */ 552 + <AT91_PIOB 30 AT91_PERIPH_A AT91_PINCTRL_PULL_UP 553 + AT91_PIOB 31 AT91_PERIPH_A AT91_PINCTRL_NONE>; 554 554 }; 555 555 }; 556 556
+6 -25
arch/arm/boot/dts/sama5d4.dtsi
··· 1314 1314 status = "disabled"; 1315 1315 }; 1316 1316 1317 - sckc@fc068650 { 1318 - compatible = "atmel,at91sam9x5-sckc"; 1317 + clk32k: sckc@fc068650 { 1318 + compatible = "atmel,sama5d4-sckc"; 1319 1319 reg = <0xfc068650 0x4>; 1320 - 1321 - slow_rc_osc: slow_rc_osc { 1322 - compatible = "atmel,at91sam9x5-clk-slow-rc-osc"; 1323 - #clock-cells = <0>; 1324 - clock-frequency = <32768>; 1325 - clock-accuracy = <250000000>; 1326 - atmel,startup-time-usec = <75>; 1327 - }; 1328 - 1329 - slow_osc: slow_osc { 1330 - compatible = "atmel,at91sam9x5-clk-slow-osc"; 1331 - #clock-cells = <0>; 1332 - clocks = <&slow_xtal>; 1333 - atmel,startup-time-usec = <1200000>; 1334 - }; 1335 - 1336 - clk32k: slowck { 1337 - compatible = "atmel,at91sam9x5-clk-slow"; 1338 - #clock-cells = <0>; 1339 - clocks = <&slow_rc_osc &slow_osc>; 1340 - }; 1320 + #clock-cells = <0>; 1321 + clocks = <&slow_xtal>; 1341 1322 }; 1342 1323 1343 1324 rtc@fc0686b0 { ··· 1442 1461 dbgu { 1443 1462 pinctrl_dbgu: dbgu-0 { 1444 1463 atmel,pins = 1445 - <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_NONE>, /* conflicts with D14 and TDI */ 1446 - <AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_PULL_UP>; /* conflicts with D15 and TDO */ 1464 + <AT91_PIOB 24 AT91_PERIPH_A AT91_PINCTRL_PULL_UP /* conflicts with D14 and TDI */ 1465 + AT91_PIOB 25 AT91_PERIPH_A AT91_PINCTRL_NONE>; /* conflicts with D15 and TDO */ 1447 1466 }; 1448 1467 }; 1449 1468