projects
/
openwrt
/
staging
/
wigyori.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ath79: add QCA956x GMAC config
[openwrt/staging/wigyori.git]
/
target
/
linux
/
ath79
/
dts
/
qca956x.dtsi
diff --git
a/target/linux/ath79/dts/qca956x.dtsi
b/target/linux/ath79/dts/qca956x.dtsi
index 3c4c04b1695b49b4dc5f5933b704d18c8addb332..81453717477f5985dff912c50c720a0d46b40957 100644
(file)
--- a/
target/linux/ath79/dts/qca956x.dtsi
+++ b/
target/linux/ath79/dts/qca956x.dtsi
@@
-114,7
+114,7
@@
#reset-cells = <1>;
interrupt-parent = <&cpuintc>;
#reset-cells = <1>;
interrupt-parent = <&cpuintc>;
- intc3: interrupt-controller
@3
{
+ intc3: interrupt-controller {
compatible = "qca,ar9340-intc";
interrupt-parent = <&cpuintc>;
compatible = "qca,ar9340-intc";
interrupt-parent = <&cpuintc>;
@@
-222,6
+222,11
@@
#address-cells = <1>;
#size-cells = <0>;
};
#address-cells = <1>;
#size-cells = <0>;
};
+
+ gmac: gmac@18070000 {
+ compatible = "qca,qca9560-gmac";
+ reg = <0x18070000 0x64>;
+ };
};
usb_phy0: usb-phy {
};
usb_phy0: usb-phy {
@@
-271,14
+276,16
@@
builtin_switch: switch0@1f {
compatible = "qca,ar8229-builtin";
builtin_switch: switch0@1f {
compatible = "qca,ar8229-builtin";
- #address-cells = <1>;
- #size-cells = <0>;
-
reg = <0x1f>;
reg = <0x1f>;
+ resets = <&rst 8>;
+ reset-names = "switch";
phy-mode = "gmii";
phy4-mii-enable;
mdio-bus {
phy-mode = "gmii";
phy4-mii-enable;
mdio-bus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
swphy0: ethernet-phy@0 {
reg = <0>;
phy-mode = "mii";
swphy0: ethernet-phy@0 {
reg = <0>;
phy-mode = "mii";