X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7620a_lb-link_bl-w1200.dts;h=5368f939a2b6ea7ea104b2daccb35775c2e48eb9;hb=ac68fbf526d1b7145d611d5cbc4eb0cbc8a82094;hp=a55550d9699f29f7636dbabb48e300a875acb037;hpb=426fb8cf84ae19b0edc2ed06f7a595bc7b1ed212;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7620a_lb-link_bl-w1200.dts b/target/linux/ramips/dts/mt7620a_lb-link_bl-w1200.dts index a55550d969..5368f939a2 100644 --- a/target/linux/ramips/dts/mt7620a_lb-link_bl-w1200.dts +++ b/target/linux/ramips/dts/mt7620a_lb-link_bl-w1200.dts @@ -1,6 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 - -/dts-v1/; +// SPDX-License-Identifier: GPL-2.0-only #include "mt7620a.dtsi" @@ -17,10 +15,6 @@ led-upgrade = &led_wps; }; - chosen { - bootargs = "console=ttyS0,57600"; - }; - keys { compatible = "gpio-keys"; @@ -35,7 +29,7 @@ compatible = "gpio-leds"; led_wps: wps { - label = "bl-w1200:green:wps"; + label = "green:wps"; gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; }; @@ -93,11 +87,12 @@ }; ðernet { - status = "okay"; - - mtd-mac-address = <&factory 0x28>; pinctrl-names = "default"; pinctrl-0 = <&rgmii2_pins &mdio_pins>; + + nvmem-cells = <&macaddr_factory_28>; + nvmem-cell-names = "mac-address"; + mediatek,portmap = "wllll"; port@5 { @@ -141,6 +136,10 @@ }; }; +&gsw { + mediatek,ephy-base = /bits/ 8 <12>; +}; + &wmac { ralink,mtd-eeprom = <&factory 0x0>; }; @@ -170,3 +169,13 @@ &ohci { status = "okay"; }; + +&factory { + compatible = "nvmem-cells"; + #address-cells = <1>; + #size-cells = <1>; + + macaddr_factory_28: macaddr@28 { + reg = <0x28 0x6>; + }; +};