X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FDIR-645.dts;h=60e7f46910208c81886c34a0ebeeef1ab2a2d8d3;hb=d76b7e0221ea556545a046aea871a1f42af6c6a1;hp=0b87630b9bc2a65db51b7de4720c502bb484b96e;hpb=770b28f146f7bf9495013a57504258d7f92263c4;p=oweals%2Fopenwrt.git diff --git a/target/linux/ramips/dts/DIR-645.dts b/target/linux/ramips/dts/DIR-645.dts index 0b87630b9b..60e7f46910 100644 --- a/target/linux/ramips/dts/DIR-645.dts +++ b/target/linux/ramips/dts/DIR-645.dts @@ -3,31 +3,10 @@ /include/ "rt3883.dtsi" / { - #address-cells = <1>; - #size-cells = <1>; compatible = "DIR-645", "ralink,rt3883-soc"; model = "D-Link DIR-645"; - memorydetect { - ralink,memory = <0x0 0x200000 0x10000000>; - }; - palmbus@10000000 { - sysc@0 { - ralink,pinmmux = "uartlite", "spi"; - ralink,gpiomux = "i2c", "jtag"; - ralink,uartmux = "gpio"; - ralink,wdtmux = <1>; - }; - - timer@100 { - status = "okay"; - }; - - gpio0: gpio@600 { - status = "okay"; - }; - gpio1: gpio@638 { status = "okay"; }; @@ -74,16 +53,25 @@ }; }; - ethernet@10100000 { - status = "okay"; + pinctrl { + state_default: pinctrl0 { + gpio { + ralink,group = "i2c", "jtag", "uartf"; + ralink,function = "gpio"; + }; + }; + }; - mtd-mac-address = <&factory 0x28>; - ralink,fixed-link = <1000 1 1 1>; + ethernet@10100000 { + mtd-mac-address = <&factory 0x4>; + port@0 { + ralink,fixed-link = <1000 1 1 0>; + }; }; wmac@10180000 { - status = "okay"; ralink,5ghz = <0>; + ralink,mtd-eeprom = <&factory 0>; }; ehci@101c0000 { @@ -94,8 +82,8 @@ status = "okay"; }; - rtl8366b { - compatible = "rtl8367b"; + rtl8367b { + compatible = "realtek,rtl8367b"; gpio-sda = <&gpio0 1 0>; gpio-sck = <&gpio0 2 0>; realtek,extif1 = <1 0 1 1 1 1 1 1 2>; @@ -120,7 +108,7 @@ gpio-leds { compatible = "gpio-leds"; - + inet { label = "d-link:green:inet"; gpios = <&gpio0 0 1>; @@ -134,7 +122,6 @@ gpio_export { compatible = "gpio-export"; #size-cells = <0>; - usb { gpio-export,name = "usb"; gpio-export,output = <1>;