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

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

DT for 4.12:

- Add SFRBU on sama5d2
- DT improvements for sama5d2_xplained, sama5d3_xplained, at91sam9x5ek and
Axentia TSE-850

* tag 'at91-ab-4.12-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux:
ARM: dts: at91: sama5d3_xplained: not all ADC channels are available
ARM: dts: at91: sama5d3_xplained: fix ADC vref
ARM: dts: at91: add envelope detector mux to the Axentia TSE-850
ARM: dts: at91: Disable SPI on at91sam9x5ek to allow MCI1 to work.
ARM: dts: at91: Fix matrix compatible
ARM: dts: at91: sama5d2_xplained: enable RTC wakeup
ARM: dts: at91: sama5d2: add sfrbu

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

+40 -7
+2 -1
Documentation/devicetree/bindings/arm/atmel-at91.txt
··· 217 217 elsewhere. 218 218 219 219 required properties: 220 - - compatible: Should be "atmel,<chip>-sfr", "syscon". 220 + - compatible: Should be "atmel,<chip>-sfr", "syscon" or 221 + "atmel,<chip>-sfrbu", "syscon" 221 222 <chip> can be "sama5d3", "sama5d4" or "sama5d2". 222 223 - reg: Should contain registers location and length 223 224
+1
arch/arm/boot/dts/at91-sama5d2_xplained.dts
··· 246 246 247 247 shdwc@f8048010 { 248 248 atmel,shdwc-debouncer = <976>; 249 + atmel,wakeup-rtc-timer; 249 250 250 251 input@0 { 251 252 reg = <0>;
+2 -3
arch/arm/boot/dts/at91-sama5d3_xplained.dts
··· 162 162 }; 163 163 164 164 adc0: adc@f8018000 { 165 + atmel,adc-vref = <3300>; 166 + atmel,adc-channels-used = <0xfe>; 165 167 pinctrl-0 = < 166 168 &pinctrl_adc0_adtrg 167 - &pinctrl_adc0_ad0 168 169 &pinctrl_adc0_ad1 169 170 &pinctrl_adc0_ad2 170 171 &pinctrl_adc0_ad3 ··· 173 172 &pinctrl_adc0_ad5 174 173 &pinctrl_adc0_ad6 175 174 &pinctrl_adc0_ad7 176 - &pinctrl_adc0_ad8 177 - &pinctrl_adc0_ad9 178 175 >; 179 176 status = "okay"; 180 177 };
+28 -1
arch/arm/boot/dts/at91-tse850-3.dts
··· 86 86 #io-channel-cells = <1>; 87 87 }; 88 88 89 - envelope-detector { 89 + env_det: envelope-detector { 90 90 compatible = "axentia,tse850-envelope-detector"; 91 91 io-channels = <&dac 0>; 92 92 io-channel-names = "dac"; 93 + #io-channel-cells = <1>; 93 94 94 95 interrupt-parent = <&pioA>; 95 96 interrupts = <3 IRQ_TYPE_EDGE_RISING>; 96 97 interrupt-names = "comp"; 98 + }; 99 + 100 + mux: mux-controller { 101 + compatible = "gpio-mux"; 102 + #mux-control-cells = <0>; 103 + 104 + mux-gpios = <&pioA 0 GPIO_ACTIVE_HIGH>, 105 + <&pioA 1 GPIO_ACTIVE_HIGH>, 106 + <&pioA 2 GPIO_ACTIVE_HIGH>; 107 + idle-state = <0>; 108 + }; 109 + 110 + envelope-detector-mux { 111 + compatible = "io-channel-mux"; 112 + io-channels = <&env_det 0>; 113 + io-channel-names = "parent"; 114 + 115 + mux-controls = <&mux>; 116 + 117 + channels = "", "", 118 + "sync-1", 119 + "in", 120 + "out", 121 + "sync-2", 122 + "sys-reg", 123 + "ana-reg"; 97 124 }; 98 125 99 126 leds {
+1 -1
arch/arm/boot/dts/at91sam9261.dtsi
··· 263 263 }; 264 264 265 265 matrix: matrix@ffffee00 { 266 - compatible = "atmel,at91sam9260-bus-matrix", "syscon"; 266 + compatible = "atmel,at91sam9261-matrix", "syscon"; 267 267 reg = <0xffffee00 0x200>; 268 268 }; 269 269
+1 -1
arch/arm/boot/dts/at91sam9x5ek.dtsi
··· 116 116 }; 117 117 118 118 spi0: spi@f0000000 { 119 - status = "okay"; 119 + status = "disabled"; /* conflicts with mmc1 */ 120 120 cs-gpios = <&pioA 14 0>, <0>, <0>, <0>; 121 121 m25p80@0 { 122 122 compatible = "atmel,at25df321a";
+5
arch/arm/boot/dts/sama5d2.dtsi
··· 1305 1305 status = "okay"; 1306 1306 }; 1307 1307 1308 + sfrbu: sfr@fc05c000 { 1309 + compatible = "atmel,sama5d2-sfrbu", "syscon"; 1310 + reg = <0xfc05c000 0x20>; 1311 + }; 1312 + 1308 1313 chipid@fc069000 { 1309 1314 compatible = "atmel,sama5d2-chipid"; 1310 1315 reg = <0xfc069000 0x8>;