ramips: use pinmux nodes from dtsi

Use the pinmux nodes from the included dtsi file instead of adding
duplicate nodes.

Signed-off-by: Mathias Kresin <dev@kresin.me>
master
Mathias Kresin 7 years ago
parent b69ceb0c3d
commit aa82141d9b
  1. 7
      target/linux/ramips/dts/ArcherC20.dts
  2. 7
      target/linux/ramips/dts/ArcherC50.dts
  3. 17
      target/linux/ramips/dts/DCH-M225.dts
  4. 12
      target/linux/ramips/dts/DIR-615-H1.dts
  5. 12
      target/linux/ramips/dts/DIR-620-D1.dts
  6. 16
      target/linux/ramips/dts/DUZUN-DM06.dts
  7. 7
      target/linux/ramips/dts/HC5X61.dtsi
  8. 7
      target/linux/ramips/dts/MIWIFI-MINI.dts
  9. 10
      target/linux/ramips/dts/PSG1218A.dts
  10. 7
      target/linux/ramips/dts/WHR-300HP2.dts
  11. 35
      target/linux/ramips/dts/WIZFI630A.dts
  12. 6
      target/linux/ramips/dts/WL-351.dts
  13. 7
      target/linux/ramips/dts/Y1.dtsi
  14. 7
      target/linux/ramips/dts/ZBT-APE522II.dts
  15. 7
      target/linux/ramips/dts/ZBT-WR8305RT.dts

@ -142,11 +142,6 @@
ralink,group = "i2c", "uartf", "wled", "ephy", "spi refclk", "wdt";
ralink,function = "gpio";
};
pa {
ralink,group = "pa";
ralink,function = "pa";
};
};
};
@ -172,6 +167,8 @@
ralink,mtd-eeprom = <&radio 0>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-2)>;
pinctrl-names = "default";
pinctrl-0 = <&pa_pins>;
};
&pcie {

@ -142,11 +142,6 @@
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "ephy", "spi refclk", "mdio", "wdt", "nd_sd";
ralink,function = "gpio";
};
pa {
ralink,group = "pa";
ralink,function = "pa";
};
};
};
@ -172,6 +167,8 @@
ralink,mtd-eeprom = <&radio 0>;
mtd-mac-address = <&rom 0xf100>;
mtd-mac-address-increment = <(-2)>;
pinctrl-names = "default";
pinctrl-0 = <&pa_pins>;
};
&pcie {

@ -90,7 +90,7 @@
#sound-dai-cells = <0>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&wm8960_mclk_pins>;
pinctrl-0 = <&mdio_refclk_pins>;
};
&spi0 {
@ -162,18 +162,6 @@
ralink,group = "uartf";
ralink,function = "gpio i2s";
};
pa {
ralink,group = "pa";
ralink,function = "pa";
};
wm8960_mclk_pins: wm8960_mclk {
wm8960_mclk {
ralink,group = "mdio";
ralink,function = "refclk";
};
};
};
};
@ -187,5 +175,6 @@
&wmac {
ralink,mtd-eeprom = <&factory 0>;
pinctrl-names = "default";
pinctrl-0 = <&pa_pins>;
};

@ -99,21 +99,13 @@
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
rgmii {
ralink,group = "rgmii";
ralink,function = "rgmii";
};
mdio {
ralink,group = "mdio";
ralink,function = "mdio";
};
};
};
&ethernet {
mtd-mac-address = <&factory 0x28>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins &mdio_pins>;
};
&esw {

@ -78,21 +78,13 @@
ralink,group = "i2c", "jtag", "uartf";
ralink,function = "gpio";
};
rgmii {
ralink,group = "rgmii";
ralink,function = "rgmii";
};
mdio {
ralink,group = "mdio";
ralink,function = "mdio";
};
};
};
&ethernet {
mtd-mac-address = <&factory 0x4>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins &mdio_pins>;
};
&esw {

@ -63,20 +63,6 @@
ralink,function = "gpio";
};
};
i2s_pins: i2s {
i2s {
ralink,group = "i2s";
ralink,function = "i2s";
};
};
wm8960_mclk_pins: wm8960_mclk {
wm8960_mclk {
ralink,group = "refclk";
ralink,function = "refclk";
};
};
};
&gpio1 {
@ -108,7 +94,7 @@
#sound-dai-cells = <0>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2s_pins>, <&wm8960_mclk_pins>;
pinctrl-0 = <&i2s_pins>, <&refclk_pins>;
};
&sdhci {

@ -122,6 +122,8 @@
&wmac {
ralink,mtd-eeprom = <&factory 0>;
pinctrl-names = "default";
pinctrl-0 = <&pa_pins>;
};
&pcie {
@ -134,10 +136,5 @@
ralink,group = "uartf", "wled", "nd_sd";
ralink,function = "gpio";
};
pa {
ralink,group = "pa";
ralink,function = "pa";
};
};
};

@ -125,6 +125,8 @@
&wmac {
ralink,mtd-eeprom = <&factory 0>;
pinctrl-names = "default";
pinctrl-0 = <&pa_pins>;
};
&pcie {
@ -146,10 +148,5 @@
ralink,group = "i2c", "rgmii1";
ralink,function = "gpio";
};
pa {
ralink,group = "pa";
ralink,function = "pa";
};
};
};

@ -31,11 +31,6 @@
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
ralink,function = "gpio";
};
pa {
ralink,group = "pa";
ralink,function = "pa";
};
};
};
@ -45,3 +40,8 @@
mtd-mac-address = <&factory 0x28>;
mediatek,portmap = "llllw";
};
&wmac {
pinctrl-names = "default";
pinctrl-0 = <&pa_pins>;
};

@ -127,11 +127,6 @@
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
ralink,function = "gpio";
};
pa {
ralink,group = "pa";
ralink,function = "pa";
};
};
};
@ -147,4 +142,6 @@
&wmac {
ralink,mtd-eeprom = <&factory 0>;
pinctrl-names = "default";
pinctrl-0 = <&pa_pins>;
};

@ -118,28 +118,9 @@
};
&uart {
compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0x500 0x100>;
resets = <&rstctrl 12>;
reset-names = "uart";
interrupt-parent = <&intc>;
interrupts = <5>;
reg-shift = <2>;
pinctrl-names = "default";
pinctrl-0 = <&uartf_pins>;
status = "okay";
};
&uartlite {
compatible = "ralink,mt7620a-uart", "ralink,rt2880-uart", "ns16550a";
reg = <0xc00 0x100>;
resets = <&rstctrl 19>;
reset-names = "uartl";
interrupt-parent = <&intc>;
interrupts = <12>;
reg-shift = <2>;
pinctrl-names = "default";
pinctrl-0 = <&uartlite_pins>;
pinctrl-0 = <&uartf_pins>;
};
&pinctrl {
@ -149,20 +130,6 @@
ralink,function = "gpio";
};
};
uartf_gpio_pins: uartf_gpio {
uartf_gpio {
ralink,group = "uartf";
ralink,function = "uartf";
};
};
uartlite_pins: uartlite {
uart {
ralink,group = "uartlite";
ralink,function = "uartlite";
};
};
};
&ethernet {

@ -92,15 +92,13 @@
ralink,group = "spi", "i2c", "jtag", "mdio", "uartf";
ralink,function = "gpio";
};
rgmii {
ralink,group = "rgmii";
ralink,function = "rgmii";
};
};
};
&ethernet {
mtd-mac-address = <&factory 0x4>;
pinctrl-names = "default";
pinctrl-0 = <&rgmii_pins>;
};
&esw {

@ -94,6 +94,8 @@
&wmac {
ralink,mtd-eeprom = <&factory 0>;
pinctrl-names = "default";
pinctrl-0 = <&pa_pins>;
};
&pinctrl {
@ -102,10 +104,5 @@
ralink,group = "uartf", "wled", "nd_sd";
ralink,function = "gpio";
};
pa {
ralink,group = "pa";
ralink,function = "pa";
};
};
};

@ -115,6 +115,8 @@
&wmac {
ralink,mtd-eeprom = <&factory 0>;
pinctrl-names = "default";
pinctrl-0 = <&pa_pins>;
};
&pcie {
@ -136,10 +138,5 @@
ralink,group = "wled", "i2c", "uartf", "wdt";
ralink,function = "gpio";
};
pa {
ralink,group = "pa";
ralink,function = "pa";
};
};
};

@ -94,6 +94,8 @@
};
&ethernet {
pinctrl-names = "default";
pinctrl-0 = <&ephy_pins>;
mtd-mac-address = <&factory 0x4>;
mediatek,portmap = "llllw";
};
@ -104,11 +106,6 @@
&pinctrl {
state_default: pinctrl0 {
ephy {
ralink,group = "ephy";
ralink,function = "ephy";
};
default {
ralink,group = "i2c", "uartf", "spi refclk", "wled";
ralink,function = "gpio";

Loading…
Cancel
Save