projects
/
oweals
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath79: TP-Link Archer C7 v4 swap usb port leds
[oweals/openwrt.git]
/
target
/
linux
/
ath79
/
dts
/
ar934x.dtsi
diff --git
a/target/linux/ath79/dts/ar934x.dtsi
b/target/linux/ath79/dts/ar934x.dtsi
index b8a915f36cf94eb762abdfb29c1fc67653902544..3eed4de7993ba6c41144a403ef7c67e11e852ae6 100644
(file)
--- a/
target/linux/ath79/dts/ar934x.dtsi
+++ b/
target/linux/ath79/dts/ar934x.dtsi
@@
-135,9
+135,16
@@
};
gmac: gmac@18070000 {
};
gmac: gmac@18070000 {
- compatible = "qca,ar9340-gmac"
, "qca,ar9330-gmac"
;
+ compatible = "qca,ar9340-gmac";
reg = <0x18070000 0x14>;
};
reg = <0x18070000 0x14>;
};
+
+ wmac: wmac@18100000 {
+ compatible = "qca,ar9340-wmac";
+ reg = <0x18100000 0x20000>;
+
+ status = "disabled";
+ };
};
usb: usb@1b000000 {
};
usb: usb@1b000000 {
@@
-183,37
+190,66
@@
};
};
};
};
-&cpuintc {
- qca,ddr-wb-channel-interrupts = <2>, <3>, <4>, <5>;
- qca,ddr-wb-channels = <&ddr_ctrl 3>, <&ddr_ctrl 2>,
- <&ddr_ctrl 0>, <&ddr_ctrl 1>;
-};
-
&mdio0 {
&mdio0 {
+ compatible = "qca,ar9340-mdio";
resets = <&rst 22>;
reset-names = "mdio";
};
ð0 {
resets = <&rst 22>;
reset-names = "mdio";
};
ð0 {
- compatible = "qca,ar9340-eth", "syscon";
+ compatible = "qca,ar9340-eth", "syscon"
, "simple-mfd"
;
pll-data = <0x16000000 0x00000101 0x00001616>;
pll-reg = <0x4 0x2c 17>;
pll-handle = <&pll>;
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 {
};
&mdio1 {
+ status = "okay";
+
+ compatible = "qca,ar9340-mdio";
resets = <&rst 23>;
reset-names = "mdio";
builtin-switch;
resets = <&rst 23>;
reset-names = "mdio";
builtin-switch;
+
+ builtin_switch: switch0@1f {
+ compatible = "qca,ar8229-builtin";
+
+ reg = <0x1f>;
+ resets = <&rst 8>;
+ reset-names = "switch";
+ phy-mode = "gmii";
+ phy4-mii-enable;
+
+ mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ swphy0: ethernet-phy@0 {
+ reg = <0>;
+ phy-mode = "mii";
+ };
+
+ swphy4: ethernet-phy@4 {
+ reg = <4>;
+ phy-mode = "mii";
+ };
+ };
+ };
};
ð1 {
};
ð1 {
- compatible = "qca,ar9340-eth", "syscon";
+ compatible = "qca,ar9340-eth", "syscon"
, "simple-mfd"
;
- resets = <&rst 12>, <&rst 13>;
- reset-names = "mac", "phy";
+ resets = <&rst 13>;
+ reset-names = "mac";
+ phy-mode = "gmii";
+
+ fixed-link {
+ speed = <1000>;
+ full-duplex;
+ };
};
};