aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-06-24 15:10:29 +0200
committerZoltan HERPAI <wigyori@uid0.hu>2016-06-24 15:10:29 +0200
commite7fd5962d8b0093ced2d54d92f760b75a21ec22b (patch)
treebdf9bed54fb2bc7d1d8a3fed004b96dbd073f004 /target
parent1e9b6904a8148e8321da47bd840e895713d76cd7 (diff)
downloadmaster-187ad058-e7fd5962d8b0093ced2d54d92f760b75a21ec22b.tar.gz
master-187ad058-e7fd5962d8b0093ced2d54d92f760b75a21ec22b.tar.bz2
master-187ad058-e7fd5962d8b0093ced2d54d92f760b75a21ec22b.zip
lantiq: VGV7510KW22 - fix pinmux configuration
The STP pinmux was initially added in assumption LAN2 led is driven by it. It worked somehow because STP group and gphy0 led0 share the GPIO. Do it the right way by adding the gphy0 led0 the gphy function. According to the author, the SPI node is a copy & paste leftover. Which makes sense since nothing is connected to the SPI bus on this device. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target')
-rw-r--r--target/linux/lantiq/dts/VGV7510KW22.dtsi26
1 files changed, 1 insertions, 25 deletions
diff --git a/target/linux/lantiq/dts/VGV7510KW22.dtsi b/target/linux/lantiq/dts/VGV7510KW22.dtsi
index c9045fa7ef..ed3a6e8d78 100644
--- a/target/linux/lantiq/dts/VGV7510KW22.dtsi
+++ b/target/linux/lantiq/dts/VGV7510KW22.dtsi
@@ -55,18 +55,11 @@
lantiq,pull = <1>;
};
gphy-leds {
- lantiq,groups = "gphy0 led1",
+ lantiq,groups = "gphy0 led0", "gphy0 led1",
"gphy1 led0", "gphy1 led1";
lantiq,function = "gphy";
lantiq,open-drain = <0>;
- lantiq,pull = <0>;
- lantiq,output = <1>;
- };
- stp {
- lantiq,groups = "stp";
- lantiq,function = "stp";
lantiq,pull = <2>;
- lantiq,open-drain = <0>;
lantiq,output = <1>;
};
mdio {
@@ -79,26 +72,9 @@
lantiq,pull = <0>;
lantiq,output = <1>;
};
- spi {
- lantiq,groups = "spi_di", "spi_do", "spi_clk";
- lantiq,function = "spi";
- };
};
};
- stp: stp@E100BB0 {
- compatible = "lantiq,gpio-stp-xway";
- reg = <0xE100BB0 0x40>;
- #gpio-cells = <2>;
- gpio-controller;
-
- lantiq,shadow = <0xff>;
- lantiq,groups = <0x1>;
- lantiq,dsl = <0x0>;
- lantiq,phy1 = <0x7>;
- lantiq,phy2 = <0x7>; /* enable gphy0 led2 = LAN2 LED */
- };
-
ifxhcd@E101000 {
status = "okay";
gpios = <&gpio 47 0>;