diff options
author | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-03-11 18:14:50 +0300 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-04-04 10:25:15 +0300 |
commit | 18009b802bd1c577b7bb2ad9b506d4a186bac72d (patch) | |
tree | e9aea799c71e394cfe594907a43d4f8a27e9f933 /arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | |
parent | a107bd2b6b63d510fecc402657f627dcfb205c89 (diff) | |
download | linux-18009b802bd1c577b7bb2ad9b506d4a186bac72d.tar.xz |
ARM: dts: sunxi: Remove useless pinctrl nodes
We have for the H3 boards some kind of cargo cult apparently, where we
would have a pinctrl node even for GPIOs without any particular settings.
This is pretty much useless, so let's remove them.
Acked-by: Chen-Yu Tsai <wens@csie.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-h3-orangepi-one.dts')
-rw-r--r-- | arch/arm/boot/dts/sun8i-h3-orangepi-one.dts | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts index 245fd658defb..a0026e03c295 100644 --- a/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts +++ b/arch/arm/boot/dts/sun8i-h3-orangepi-one.dts @@ -73,8 +73,6 @@ leds { compatible = "gpio-leds"; - pinctrl-names = "default"; - pinctrl-0 = <&leds_opc>, <&leds_r_opc>; pwr_led { label = "orangepi:green:pwr"; @@ -90,8 +88,6 @@ r_gpio_keys { compatible = "gpio-keys"; - pinctrl-names = "default"; - pinctrl-0 = <&sw_r_opc>; sw4 { label = "sw4"; @@ -166,25 +162,6 @@ status = "okay"; }; -&pio { - leds_opc: led_pins { - pins = "PA15"; - function = "gpio_out"; - }; -}; - -&r_pio { - leds_r_opc: led_pins { - pins = "PL10"; - function = "gpio_out"; - }; - - sw_r_opc: key_pins { - pins = "PL3"; - function = "gpio_in"; - }; -}; - ®_usb0_vbus { gpio = <&r_pio 0 2 GPIO_ACTIVE_HIGH>; /* PL2 */ status = "okay"; |