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

ARM: dts: mmp3-dell-ariel: Replace SSP2 with spi-gpio

The firmware leaves the pins in GPIO mode. Until we have a proper pinmux
driver hooked on we just need to bitbang SPI. No big deal, this is just
used for the power button and performance is not important.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Link: https://lore.kernel.org/r/20210121034130.1381872-12-lkundrak@v3.sk'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>

authored by

Lubomir Rintel and committed by
Arnd Bergmann
0561cba7 49061130

+12 -1
+12 -1
arch/arm/boot/dts/mmp3-dell-ariel.dts
··· 30 30 reg = <0x0 0x80000000>; 31 31 device_type = "memory"; 32 32 }; 33 + 34 + ec_input_spi: spi { 35 + compatible = "spi-gpio"; 36 + #address-cells = <1>; 37 + #size-cells = <0>; 38 + 39 + num-chipselects = <0>; 40 + sck-gpios = <&gpio 55 GPIO_ACTIVE_HIGH>; 41 + miso-gpios = <&gpio 57 GPIO_ACTIVE_HIGH>; 42 + mosi-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>; 43 + }; 33 44 }; 34 45 35 46 &uart3 { ··· 129 118 }; 130 119 }; 131 120 132 - &ssp2 { 121 + &ec_input_spi { 133 122 status = "okay"; 134 123 cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>; 135 124