diff options
author | Chuanhong Guo <gch981213@gmail.com> | 2018-07-17 17:09:14 +0800 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-07-30 10:43:33 +0200 |
commit | f6c99241baec562c092704f2c80650da65d3e683 (patch) | |
tree | 34e4471358c2495bc0d65b68e9a175c9c43f6f70 /target/linux/ath79/dts/ath79.dtsi | |
parent | 7ae9e6371936c01b28ea413cca3e69e5a6979386 (diff) | |
download | upstream-f6c99241baec562c092704f2c80650da65d3e683.tar.gz upstream-f6c99241baec562c092704f2c80650da65d3e683.tar.bz2 upstream-f6c99241baec562c092704f2c80650da65d3e683.zip |
ath79: ar934x: Update dts for current ag71xx driver
Enable mdio1 by default because mdio1 is needed when eth1 is enabled.
PS: If a ar9341 device has only one port and you only want to use gmac0,
change compatible of gmac1 to "syscon", "simple-mfd" in dts.
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Diffstat (limited to 'target/linux/ath79/dts/ath79.dtsi')
-rw-r--r-- | target/linux/ath79/dts/ath79.dtsi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/target/linux/ath79/dts/ath79.dtsi b/target/linux/ath79/dts/ath79.dtsi index cec4d0b6b0..a57c58659f 100644 --- a/target/linux/ath79/dts/ath79.dtsi +++ b/target/linux/ath79/dts/ath79.dtsi @@ -43,7 +43,7 @@ eth0: eth@19000000 { status = "disabled"; - compatible = "qca,ath79-eth", "syscon"; + compatible = "qca,ath79-eth", "syscon", "simple-mfd"; reg = <0x19000000 0x200>; interrupts = <4>; @@ -51,6 +51,8 @@ mdio0: mdio-bus { status = "disabled"; + + compatible = "qca,ath79-mdio"; #address-cells = <1>; #size-cells = <0>; @@ -64,7 +66,7 @@ eth1: eth@1a000000 { status = "disabled"; - compatible = "qca,ath79-eth", "syscon"; + compatible = "qca,ath79-eth", "syscon", "simple-mfd"; reg = <0x1a000000 0x200>; interrupts = <5>; @@ -72,6 +74,8 @@ mdio1: mdio-bus { status = "disabled"; + + compatible = "qca,ath79-mdio"; #address-cells = <1>; #size-cells = <0>; |