X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2Fmt7621_mikrotik_routerboard-750gr3.dts;h=aad8a6776d29edcfadbd5b509327ce4e609c2b82;hb=7666940efea27c7d16bb0e329bb5dd7117fb5807;hp=60315a46e7200bf4a98054405e631d0ab05fdaf9;hpb=ddf3e5c22d8a9706e92920a16ee74ee8c16b2ce3;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts index 60315a46e7..aad8a6776d 100644 --- a/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts +++ b/target/linux/ramips/dts/mt7621_mikrotik_routerboard-750gr3.dts @@ -1,7 +1,6 @@ // SPDX-License-Identifier: GPL-2.0-or-later OR MIT -/dts-v1/; -#include "mt7621_mikrotik.dtsi" +#include "mt7621_mikrotik_routerboard-7xx.dtsi" / { compatible = "mikrotik,routerboard-750gr3", "mediatek,mt7621-soc"; @@ -18,89 +17,41 @@ compatible = "gpio-leds"; pwr { - label = "routerboard-750gr3:blue:pwr"; + label = "blue:pwr"; gpios = <&gpio 16 GPIO_ACTIVE_HIGH>; default-state = "on"; }; led_usr: usr { - label = "routerboard-750gr3:green:usr"; + label = "green:usr"; gpios = <&gpio 0 GPIO_ACTIVE_HIGH>; }; }; +}; - gpio_export { - compatible = "gpio-export"; - #size-cells = <0>; - - buzzer { - /* Beeper requires PWM for frequency selection */ - gpio-export,name = "buzzer"; - gpio-export,output = <0>; - gpios = <&gpio 15 GPIO_ACTIVE_HIGH>; - }; - - usb_power { - gpio-export,name = "usb_power"; - gpio-export,output = <1>; - gpios = <&gpio 12 GPIO_ACTIVE_HIGH>; - }; +&state_default { + gpio { + groups = "uart2", "jtag", "wdt"; + function = "gpio"; }; }; -&keys { - mode { - label = "mode"; - gpios = <&gpio 13 GPIO_ACTIVE_LOW>; - linux,code = ; - }; +&gmac1 { + status = "okay"; + label = "wan"; + phy-handle = <ðphy0>; }; -&partitions { - partition@40000 { - compatible = "mikrotik,minor"; - label = "firmware"; - reg = <0x040000 0xfc0000>; +&mdio { + ethphy0: ethernet-phy@0 { + reg = <0>; }; }; &switch0 { ports { port@0 { - status = "okay"; - label = "wan"; - }; - - port@1 { - status = "okay"; - label = "lan2"; - }; - - port@2 { - status = "okay"; - label = "lan3"; - }; - - port@3 { - status = "okay"; - label = "lan4"; - }; - - port@4 { - status = "okay"; - label = "lan5"; + status = "disabled"; }; }; }; - -&state_default { - gpio { - /* via gpio7 (uart3 group) the PoE status can be read */ - groups = "uart2", "uart3", "jtag", "wdt"; - function = "gpio"; - }; -}; - -&sdhci { - status = "okay"; -};