diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-05-30 17:30:26 +0200 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2015-08-11 15:29:57 +0200 |
commit | 4cec8cd790e3645d2e5ddf01cbe4ed2a90dcd94f (patch) | |
tree | 23eede026bbe76666214cf7ead46f93ae9b12732 /arch/arm/boot/dts/ste-nomadik-s8815.dts | |
parent | 28d250c4ed03e148ea98db6e5bb614002606adc2 (diff) | |
download | linux-4cec8cd790e3645d2e5ddf01cbe4ed2a90dcd94f.tar.gz linux-4cec8cd790e3645d2e5ddf01cbe4ed2a90dcd94f.tar.bz2 linux-4cec8cd790e3645d2e5ddf01cbe4ed2a90dcd94f.zip |
ARM: nomadik: move hog code to use DT hogs
Instead of introducing a board-specific DT node for biasing the
MMC/SD and SATA ports, use the new device tree hogs.
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm/boot/dts/ste-nomadik-s8815.dts')
-rw-r--r-- | arch/arm/boot/dts/ste-nomadik-s8815.dts | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/ste-nomadik-s8815.dts b/arch/arm/boot/dts/ste-nomadik-s8815.dts index 3c140d05f796..edcfe2413ee7 100644 --- a/arch/arm/boot/dts/ste-nomadik-s8815.dts +++ b/arch/arm/boot/dts/ste-nomadik-s8815.dts @@ -19,6 +19,16 @@ serial1 = &uart1; }; + gpio3: gpio@101e7000 { + /* This hog will bias the MMC/SD card detect line */ + mmcsd-gpio { + gpio-hog; + gpios = <16 0x0>; + output-low; + line-name = "card detect bias"; + }; + }; + src@101e0000 { /* These chrystal drivers are not used on this board */ disable-sxtalo; @@ -109,14 +119,6 @@ }; }; - /* Custom board node with GPIO pins to active etc */ - usb-s8815 { - /* This will bias the MMC/SD card detect line */ - mmcsd-gpio { - gpios = <&gpio3 16 0x1>; - }; - }; - /* The user LED on the board is set up to be used for heartbeat */ leds { compatible = "gpio-leds"; |