diff options
author | Pavel Kubelun <be.dissent@gmail.com> | 2016-11-08 08:49:07 +0300 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2016-11-16 10:59:30 +0100 |
commit | 5aace5a5fbcf4a80c6765b605ffdd86d2cfadfb0 (patch) | |
tree | 00af1190c782b6abe6e749e533765ab8e58a4a5e /target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts | |
parent | 3ac5eb914169a7169f5522799fbb0f90f1234c1c (diff) | |
download | openwrt-5aace5a5fbcf4a80c6765b605ffdd86d2cfadfb0.tar.gz openwrt-5aace5a5fbcf4a80c6765b605ffdd86d2cfadfb0.tar.bz2 openwrt-5aace5a5fbcf4a80c6765b605ffdd86d2cfadfb0.zip |
ipq806x: fixes for R7800 and C2600
Updating spi pins configuration in R7800 and C2600 DTs
Adding more usb power pin export and gsbi6 in R7800 DT
Updating and fixing leds
Signed-off-by: Pavel Kubelun <be.dissent@gmail.com>
Diffstat (limited to 'target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts')
-rw-r--r-- | target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts index 9427e993f3..9162200fd9 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts @@ -46,8 +46,23 @@ mux { pins = "gpio18", "gpio19", "gpio21"; function = "gsbi5"; + bias-pull-down; + }; + + data { + pins = "gpio18", "gpio19"; + drive-strength = <10>; + }; + + cs { + pins = "gpio20"; drive-strength = <10>; - bias-none; + bias-pull-up; + }; + + clk { + pins = "gpio21"; + drive-strength = <12>; }; }; @@ -114,7 +129,7 @@ qcom,mode = <GSBI_PROT_SPI>; status = "ok"; - spi4: spi@1a280000 { + spi5: spi@1a280000 { status = "ok"; spi-max-frequency = <50000000>; @@ -124,7 +139,7 @@ cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>; flash: m25p80@0 { - compatible = "s25fl256s1"; + compatible = "jedec,spi-nor"; #address-cells = <1>; #size-cells = <1>; spi-max-frequency = <50000000>; @@ -380,7 +395,7 @@ wifi { label = "wifi"; gpios = <&qcom_pinmux 49 GPIO_ACTIVE_LOW>; - linux,code = <KEY_WLAN>; + linux,code = <KEY_RFKILL>; }; reset { @@ -425,6 +440,11 @@ gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; + wan_red { + label = "c2600:red:wan"; + gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>; + }; + wan_blue { label = "c2600:white:wan"; gpios = <&qcom_pinmux 33 GPIO_ACTIVE_LOW>; |