X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Fmpc85xx%2Ffiles%2Farch%2Fpowerpc%2Fboot%2Fdts%2Fws-ap3710i.dts;h=c5588d80275e209f054ceb2de5871258b6ece977;hb=256e1dbc7d09b165bcfadb373cde963f5d7f7fca;hp=ebaac417eb6d5024d38fa4323f3a2a356f06b06f;hpb=c7528996a5208ed94eb2e6dc82079542a7869ab3;p=openwrt%2Fstaging%2Fdedeckeh.git diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3710i.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3710i.dts index ebaac417eb..c5588d8027 100644 --- a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3710i.dts +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/ws-ap3710i.dts @@ -1,5 +1,8 @@ // SPDX-License-Identifier: GPL-2.0-or-later or MIT +#include +#include + /include/ "fsl/p1020si-pre.dtsi" / { model = "Enterasys WS-AP3710i"; @@ -21,24 +24,24 @@ compatible = "gpio-leds"; wifi1 { - gpios = <&gpio0 3 0>; + gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>; label = "ws-ap3710i:green:radio1"; linux,default-trigger = "phy0tpt"; }; wifi2 { - gpios = <&gpio0 4 0>; + gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>; label = "ws-ap3710i:green:radio2"; linux,default-trigger = "phy1tpt"; }; led_power_green: power_green { - gpios = <&gpio0 8 0>; + gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; label = "ws-ap3710i:green:power"; }; led_power_red: power_red { - gpios = <&gpio0 9 0>; + gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>; label = "ws-ap3710i:red:power"; }; }; @@ -48,8 +51,8 @@ reset { label = "Reset button"; - gpios = <&gpio0 1 1>; /* active low */ - linux,code = <0x198>; /* KEY_RESTART */ + gpios = <&gpio0 1 GPIO_ACTIVE_LOW>; + linux,code = ; }; }; @@ -112,7 +115,7 @@ mdio@24000 { phy4: ethernet-phy@4 { reg = <0x4>; - reset-gpios = <&gpio0 2 1>; + reset-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; }; };