diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2021-01-21 04:41:29 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2021-02-02 18:14:00 +0100 |
commit | 0561cba77cafdbfa966eeb87163d2e874e3669e5 (patch) | |
tree | b5a01f3e7729cf54d22b7627233bd3e51d9a0ad7 /arch/arm/boot | |
parent | 49061130eb1f654065b25903d57dad41519ee6c9 (diff) | |
download | linux-0561cba77cafdbfa966eeb87163d2e874e3669e5.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r-- | arch/arm/boot/dts/mmp3-dell-ariel.dts | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/mmp3-dell-ariel.dts b/arch/arm/boot/dts/mmp3-dell-ariel.dts index c4a6bd876d84..fe6df364a9eb 100644 --- a/arch/arm/boot/dts/mmp3-dell-ariel.dts +++ b/arch/arm/boot/dts/mmp3-dell-ariel.dts @@ -30,6 +30,17 @@ reg = <0x0 0x80000000>; device_type = "memory"; }; + + ec_input_spi: spi { + compatible = "spi-gpio"; + #address-cells = <1>; + #size-cells = <0>; + + num-chipselects = <0>; + sck-gpios = <&gpio 55 GPIO_ACTIVE_HIGH>; + miso-gpios = <&gpio 57 GPIO_ACTIVE_HIGH>; + mosi-gpios = <&gpio 58 GPIO_ACTIVE_HIGH>; + }; }; &uart3 { @@ -118,7 +129,7 @@ }; }; -&ssp2 { +&ec_input_spi { status = "okay"; cs-gpios = <&gpio 56 GPIO_ACTIVE_LOW>; |