From ed77ae35eb477c52df09aa6552165ae89598469c Mon Sep 17 00:00:00 2001 From: Hans Ulli Kroll Date: Thu, 6 Oct 2016 12:49:23 +0200 Subject: update from oPENWRT forum, need author Signed-off-by: Hans Ulli Kroll --- target/linux/ramips/dts/BR-6478AC-V2.dts | 45 +++++++++++++++++++++++++------- 1 file changed, 35 insertions(+), 10 deletions(-) (limited to 'target/linux/ramips/dts/BR-6478AC-V2.dts') diff --git a/target/linux/ramips/dts/BR-6478AC-V2.dts b/target/linux/ramips/dts/BR-6478AC-V2.dts index 0951b5aac0..b32a7df024 100644 --- a/target/linux/ramips/dts/BR-6478AC-V2.dts +++ b/target/linux/ramips/dts/BR-6478AC-V2.dts @@ -18,10 +18,16 @@ model = "Edimax BR-6478ACV2"; chosen { - bootargs = "console=ttyS0,57600"; + bootargs = "console=ttyS0,57600"; }; palmbus@10000000 { + gpio1: gpio@638 { + satus = "okay"; + }; + gpio2: gpio@660 { + status = "okay"; + }; spi@b00 { status = "okay"; @@ -74,6 +80,14 @@ }; }; + usbphy: usbphy { + compatible = "mediatek,mt7620-usbphy"; + #phy-cells = <1>; + // resets = <&rstctrl 22 &rstctrl 25>; + resets = <&rstctrl 22 &rstctrl 19>; + reset-names = "host", "device"; + }; + ethernet@10100000 { status = "okay"; mtd-mac-address = <&factory 0x28>; @@ -138,14 +152,14 @@ reset { label = "reset"; - gpios = <&gpio0 1 0>; - linux,code = <0x198>; + gpios = <&gpio0 12 1>; + linux,code = <0x101>; }; wps { label = "wps"; - gpios = <&gpio0 2 0>; - linux,code = <0x211>; + gpios = <&gpio0 1 1>; + linux,code = <0x100>; }; }; @@ -153,13 +167,20 @@ compatible = "gpio-leds"; power { - label = "br-6478ac-v2:green:power"; - gpios = <&gpio0 10 1>; + label = "br-6478ac-v2:white:power"; + gpios = <&gpio0 11 1>; }; - wan { - label = "br-6478ac-v2:green:wps"; - gpios = <&gpio0 12 1>; + label = "br-6478ac-v2:blue:wan"; + gpios = <&gpio0 7 1>; + }; + wlan { + label = "br-6478ac-v2:blue:wlan"; + gpios = <&gpio0 10 1>; + }; + usb { + label = "br-6478ac-v2:blue:usb"; + gpios = <&gpio0 14 1>; }; }; @@ -169,10 +190,14 @@ ehci@101c0000 { status = "okay"; + interrupt-parent = <&intc>; + interrupts = <18>; }; ohci@101c1000 { status = "okay"; + interrupt-parent = <&intc>; + interrupts = <18>; }; }; -- cgit v1.2.3