X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fdts%2Far7242.dtsi;h=dd5417e570268cb6bf1c9b671bf14f2bf1884e9b;hb=0c5a53255307ab532b2f875db452803b7f297874;hp=a5909a9b31500fa6fa7b926aa1a9b2c9d4a99cf1;hpb=66c8afd115f4d03fefc0e650b90dd922487cc50f;p=oweals%2Fopenwrt.git diff --git a/target/linux/ath79/dts/ar7242.dtsi b/target/linux/ath79/dts/ar7242.dtsi index a5909a9b31..dd5417e570 100644 --- a/target/linux/ath79/dts/ar7242.dtsi +++ b/target/linux/ath79/dts/ar7242.dtsi @@ -45,25 +45,41 @@ }; ð0 { - compatible = "qca,ar7242-eth", "syscon"; + compatible = "qca,ar7242-eth", "syscon", "simple-mfd"; pll-data = <0x16000000 0x00000101 0x00001616>; pll-reg = <0x4 0x2c 17>; pll-handle = <&pll>; - resets = <&rst 8>, <&rst 9>; - reset-names = "mac", "phy"; + resets = <&rst 9>; + reset-names = "mac"; }; &mdio1 { resets = <&rst 23>; reset-names = "mdio"; builtin-switch; + + builtin_switch: switch0@1f { + compatible = "qca,ar8216-builtin"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x1f>; + resets = <&rst 8>; + reset-names = "switch"; + }; }; ð1 { - compatible = "qca,ar7242-eth", "syscon"; + compatible = "qca,ar7242-eth", "syscon", "simple-mfd"; + + resets = <&rst 13>; + reset-names = "mac"; - resets = <&rst 12>, <&rst 13>; - reset-names = "mac", "phy"; + phy-mode = "gmii"; + + fixed-link { + speed = <1000>; + full-duplex; + }; };