diff options
Diffstat (limited to 'target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts')
-rw-r--r-- | target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts index 40b8014a53..1fd6a4aa49 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/red-15w-rev1.dts @@ -1,5 +1,7 @@ // SPDX-License-Identifier: GPL-2.0-or-later or MIT +#include <dt-bindings/gpio/gpio.h> + /include/ "fsl/p1010si-pre.dtsi" / { @@ -21,27 +23,27 @@ compatible = "gpio-leds"; system_green: system_green { - gpios = <&gpio0 7 0>; + gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; label = "red-15w-rev1:green:system"; }; system_red: system_red { - gpios = <&gpio0 3 0>; + gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; label = "red-15w-rev1:red:system"; }; router { - gpios = <&gpio0 5 1>; + gpios = <&gpio0 5 GPIO_ACTIVE_LOW>; label = "red-15w-rev1:green:router"; }; internet { - gpios = <&gpio0 4 1>; + gpios = <&gpio0 4 GPIO_ACTIVE_LOW>; label = "red-15w-rev1:green:internet"; }; tunnel { - gpios = <&gpio0 8 1>; + gpios = <&gpio0 8 GPIO_ACTIVE_LOW>; label = "red-15w-rev1:green:tunnel"; }; }; |