diff options
author | Mathias Kresin <dev@kresin.me> | 2017-11-18 10:51:07 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2017-11-22 08:21:52 +0100 |
commit | b69ceb0c3d705143511fdc32cb92aedda29c7db3 (patch) | |
tree | 569b35367c16c1ce00acaa7acb2d470f600cce3c | |
parent | e142173e8dc5ddd923761581bcc877a786f3c2ff (diff) | |
download | mtk-20170518-b69ceb0c3d705143511fdc32cb92aedda29c7db3.zip mtk-20170518-b69ceb0c3d705143511fdc32cb92aedda29c7db3.tar.gz mtk-20170518-b69ceb0c3d705143511fdc32cb92aedda29c7db3.tar.bz2 |
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>
-rw-r--r-- | target/linux/ramips/dts/mt7620a.dtsi | 14 | ||||
-rw-r--r-- | target/linux/ramips/dts/mt7620n.dtsi | 7 | ||||
-rw-r--r-- | target/linux/ramips/dts/mt7628an.dtsi | 18 | ||||
-rw-r--r-- | target/linux/ramips/dts/rt3050.dtsi | 7 | ||||
-rw-r--r-- | 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"; |