From 5aace5a5fbcf4a80c6765b605ffdd86d2cfadfb0 Mon Sep 17 00:00:00 2001 From: Pavel Kubelun Date: Tue, 8 Nov 2016 08:49:07 +0300 Subject: 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 --- .../files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts | 28 ++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts') 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 = ; 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 = ; + linux,code = ; }; 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>; -- cgit v1.2.3