aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/bcm53xx/patches-4.4/047-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2017-04-20 22:15:09 +0200
committerRafał Miłecki <rafal@milecki.pl>2017-04-20 22:45:05 +0200
commitb0fcb9b85c7f16c13f1d45c80c00de8f4d2ff56c (patch)
tree5429a15b7ce1e6cc8b759ab14736331413ac05f9 /target/linux/bcm53xx/patches-4.4/047-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch
parent226e194335c0d9a92402fbab772eac4f38786e45 (diff)
downloadupstream-b0fcb9b85c7f16c13f1d45c80c00de8f4d2ff56c.tar.gz
upstream-b0fcb9b85c7f16c13f1d45c80c00de8f4d2ff56c.tar.bz2
upstream-b0fcb9b85c7f16c13f1d45c80c00de8f4d2ff56c.zip
bcm53xx: backport DT patches for serial, thermal and MDIO
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'target/linux/bcm53xx/patches-4.4/047-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch')
-rw-r--r--target/linux/bcm53xx/patches-4.4/047-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/bcm53xx/patches-4.4/047-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch b/target/linux/bcm53xx/patches-4.4/047-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch
new file mode 100644
index 0000000000..8449a342a2
--- /dev/null
+++ b/target/linux/bcm53xx/patches-4.4/047-0021-ARM-dts-BCM5301X-Specify-MDIO-bus-in-the-DT.patch
@@ -0,0 +1,34 @@
+From c4b88e77c28fad5151a1a4eac516b947e2d51be5 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <rafal@milecki.pl>
+Date: Wed, 19 Apr 2017 23:54:25 +0200
+Subject: [PATCH] ARM: dts: BCM5301X: Specify MDIO bus in the DT
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Northstar devices have MDIO bus that may contain various PHYs attached.
+A common example is USB 3.0 PHY (that doesn't have an MDIO driver yet).
+
+Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
+Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
+---
+ arch/arm/boot/dts/bcm5301x.dtsi | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+--- a/arch/arm/boot/dts/bcm5301x.dtsi
++++ b/arch/arm/boot/dts/bcm5301x.dtsi
+@@ -334,6 +334,14 @@
+ };
+ };
+
++ mdio: mdio@18003000 {
++ compatible = "brcm,iproc-mdio";
++ reg = <0x18003000 0x8>;
++ #size-cells = <1>;
++ #address-cells = <0>;
++ status = "disabled";
++ };
++
+ i2c0: i2c@18009000 {
+ compatible = "brcm,iproc-i2c";
+ reg = <0x18009000 0x50>;