X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=target%2Flinux%2Fath79%2Fdts%2Far7242.dtsi;h=dd5417e570268cb6bf1c9b671bf14f2bf1884e9b;hb=0c5a53255307ab532b2f875db452803b7f297874;hp=427d67a85401ced26f0d3db4f5ed0efc965a1279;hpb=53c474abbdfef8eb3499e2d10c9ad491788b8a72;p=oweals%2Fopenwrt.git diff --git a/target/linux/ath79/dts/ar7242.dtsi b/target/linux/ath79/dts/ar7242.dtsi index 427d67a854..dd5417e570 100644 --- a/target/linux/ath79/dts/ar7242.dtsi +++ b/target/linux/ath79/dts/ar7242.dtsi @@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT #include "ar724x.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; + }; };