[source] ramips: add missing pinmuxes to SoC dtsi

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 21 23:31:53 PST 2017


mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/b69ceb0c3d705143511fdc32cb92aedda29c7db3

commit b69ceb0c3d705143511fdc32cb92aedda29c7db3
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Sat Nov 18 10:51:07 2017 +0100

    ramips: add missing pinmuxes to SoC dtsi
    
    Add pinmuxes defined by some board which are including the dtsi files
    to the dtsi files itself. Allows to reduce duplication.
    
    Signed-off-by: Mathias Kresin <dev at kresin.me>
---
 target/linux/ramips/dts/mt7620a.dtsi  | 14 ++++++++++++++
 target/linux/ramips/dts/mt7620n.dtsi  |  7 +++++++
 target/linux/ramips/dts/mt7628an.dtsi | 18 ++++++++++++++++--
 target/linux/ramips/dts/rt3050.dtsi   |  7 +++++++
 target/linux/ramips/dts/rt3352.dtsi   | 14 ++++++++++++++
 5 files changed, 58 insertions(+), 2 deletions(-)

diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index 96966b4..882cf88 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -365,6 +365,13 @@
 			};
 		};
 
+		mdio_refclk_pins: mdio_refclk {
+			mdio_refclk {
+				ralink,group = "mdio";
+				ralink,function = "refclk";
+			};
+		};
+
 		ephy_pins: ephy {
 			ephy {
 				ralink,group = "ephy";
@@ -399,6 +406,13 @@
 				ralink,function = "pcie rst";
 			};
 		};
+
+		pa_pins: pa {
+			pa {
+				ralink,group = "pa";
+				ralink,function = "pa";
+			};
+		};
 	};
 
 	rstctrl: rstctrl {
diff --git a/target/linux/ramips/dts/mt7620n.dtsi b/target/linux/ramips/dts/mt7620n.dtsi
index f1593ac..5d3c1e3 100644
--- a/target/linux/ramips/dts/mt7620n.dtsi
+++ b/target/linux/ramips/dts/mt7620n.dtsi
@@ -228,6 +228,13 @@
 		state_default: pinctrl0 {
 		};
 
+		ephy_pins: ephy {
+			ephy {
+				ralink,group = "ephy";
+				ralink,function = "ephy";
+			};
+		};
+
 		spi_pins: spi {
 			spi {
 				ralink,group = "spi";
diff --git a/target/linux/ramips/dts/mt7628an.dtsi b/target/linux/ramips/dts/mt7628an.dtsi
index 3376b9f..b572f2a 100644
--- a/target/linux/ramips/dts/mt7628an.dtsi
+++ b/target/linux/ramips/dts/mt7628an.dtsi
@@ -298,6 +298,13 @@
 			};
 		};
 
+		i2s_pins: i2s {
+			i2s {
+				ralink,group = "i2s";
+				ralink,function = "i2s";
+			};
+		};
+
 		uart0_pins: uartlite {
 			uartlite {
 				ralink,group = "uart0";
@@ -340,12 +347,19 @@
 			};
 		};
 
-		pcm_i2s_pins: i2s {
-			i2s {
+		pcm_i2s_pins: pcm_i2s {
+			pcm_i2s {
 				ralink,group = "i2s";
 				ralink,function = "pcm";
 			};
 		};
+
+		refclk_pins: refclk {
+			refclk {
+				ralink,group = "refclk";
+				ralink,function = "refclk";
+			};
+		};
 	};
 
 	rstctrl: rstctrl {
diff --git a/target/linux/ramips/dts/rt3050.dtsi b/target/linux/ramips/dts/rt3050.dtsi
index 23da1c4..5c69d28 100644
--- a/target/linux/ramips/dts/rt3050.dtsi
+++ b/target/linux/ramips/dts/rt3050.dtsi
@@ -260,6 +260,13 @@
 			};
 		};
 
+		rgmii_pins: rgmii {
+			rgmii {
+				ralink,group = "rgmii";
+				ralink,function = "rgmii";
+			};
+		};
+
 		uartlite_pins: uartlite {
 			uart {
 				ralink,group = "uartlite";
diff --git a/target/linux/ramips/dts/rt3352.dtsi b/target/linux/ramips/dts/rt3352.dtsi
index a617281..5612458 100644
--- a/target/linux/ramips/dts/rt3352.dtsi
+++ b/target/linux/ramips/dts/rt3352.dtsi
@@ -262,6 +262,20 @@
 			};
 		};
 
+		mdio_pins: mdio {
+			mdio {
+				ralink,group = "mdio";
+				ralink,function = "mdio";
+			};
+		};
+
+		rgmii_pins: rgmii {
+			rgmii {
+				ralink,group = "rgmii";
+				ralink,function = "rgmii";
+			};
+		};
+
 		spi_pins: spi {
 			spi {
 				ralink,group = "spi";



More information about the lede-commits mailing list