aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-11-18 10:51:07 +0100
committerMathias Kresin <dev@kresin.me>2017-11-22 08:21:52 +0100
commitb69ceb0c3d705143511fdc32cb92aedda29c7db3 (patch)
tree569b35367c16c1ce00acaa7acb2d470f600cce3c /target/linux/ramips/dts
parente142173e8dc5ddd923761581bcc877a786f3c2ff (diff)
downloadupstream-b69ceb0c3d705143511fdc32cb92aedda29c7db3.tar.gz
upstream-b69ceb0c3d705143511fdc32cb92aedda29c7db3.tar.bz2
upstream-b69ceb0c3d705143511fdc32cb92aedda29c7db3.zip
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@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi14
-rw-r--r--target/linux/ramips/dts/mt7620n.dtsi7
-rw-r--r--target/linux/ramips/dts/mt7628an.dtsi18
-rw-r--r--target/linux/ramips/dts/rt3050.dtsi7
-rw-r--r--target/linux/ramips/dts/rt3352.dtsi14
5 files changed, 58 insertions, 2 deletions
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index 96966b4647..882cf88104 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 f1593acd93..5d3c1e3fa4 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 3376b9f3a6..b572f2ae40 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 23da1c43ef..5c69d282a3 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 a617281b75..5612458f10 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";