diff options
Diffstat (limited to 'target/linux/ipq806x/files')
7 files changed, 75 insertions, 91 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 f22838f..7eeaab1 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 @@ -150,7 +150,6 @@ spi5: spi@1a280000 { status = "ok"; - spi-max-frequency = <50000000>; pinctrl-0 = <&spi_pins>; pinctrl-names = "default"; @@ -474,18 +473,18 @@ gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; - wan_red { - label = "c2600:orange:wan"; + wan_amber { + label = "c2600:amber:wan"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_LOW>; }; - wan_blue { + wan_white { label = "c2600:white:wan"; gpios = <&qcom_pinmux 33 GPIO_ACTIVE_LOW>; }; - power: status { - label = "c2600:white:status"; + power: power { + label = "c2600:white:power"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts index 4af56ba..a8a6139 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-d7800.dts @@ -25,10 +25,10 @@ serial0 = &uart4; mdio-gpio0 = &mdio0; - led-boot = &power; - led-failsafe = &power; - led-running = &power; - led-upgrade = &power; + led-boot = &power_white; + led-failsafe = &power_amber; + led-running = &power_white; + led-upgrade = &power_amber; }; chosen { @@ -59,7 +59,7 @@ led_pins: led_pins { mux { pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23", - "gpio24","gpio26", "gpio53", "gpio64", "gpio67"; + "gpio24","gpio26", "gpio53", "gpio64"; function = "gpio"; drive-strength = <2>; bias-pull-up; @@ -354,27 +354,27 @@ pinctrl-names = "default"; usb1 { - label = "d7800:amber:usb1"; + label = "d7800:white:usb1"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; }; - usb3 { - label = "d7800:amber:usb3"; + usb2 { + label = "d7800:white:usb2"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; - status { - label = "d7800:amber:status"; + power_amber: power_amber { + label = "d7800:amber:power"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; - internet { - label = "d7800:white:internet"; + wan_white { + label = "d7800:white:wan"; gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>; }; - wan { - label = "d7800:white:wan"; + wan_amber { + label = "d7800:amber:wan"; gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>; }; @@ -388,21 +388,16 @@ gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; }; - power: power { + power_white: power_white { label = "d7800:white:power"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; - rfkill { - label = "d7800:white:rfkill"; + wifi { + label = "d7800:white:wifi"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>; }; - - wifi5g { - label = "d7800:white:wifi5g"; - gpios = <&qcom_pinmux 67 GPIO_ACTIVE_HIGH>; - }; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts index 7fcbb0c..fc35df7 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500.dts @@ -25,10 +25,10 @@ serial0 = &uart4; mdio-gpio0 = &mdio0; - led-boot = &power; - led-failsafe = &power; - led-running = &power; - led-upgrade = &power; + led-boot = &power_white; + led-failsafe = &power_amber; + led-running = &power_white; + led-upgrade = &power_amber; }; chosen { @@ -59,7 +59,7 @@ led_pins: led_pins { mux { pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23", - "gpio24","gpio26", "gpio53", "gpio64", "gpio67"; + "gpio24","gpio26", "gpio53", "gpio64"; function = "gpio"; drive-strength = <2>; bias-pull-up; @@ -321,27 +321,27 @@ pinctrl-names = "default"; usb1 { - label = "r7500:amber:usb1"; + label = "r7500:white:usb1"; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>; }; - usb3 { - label = "r7500:amber:usb3"; + usb2 { + label = "r7500:white:usb2"; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>; }; - status { - label = "r7500:amber:status"; + power_amber: power_amber { + label = "r7500:amber:power"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; }; - internet { - label = "r7500:white:internet"; + wan_white { + label = "r7500:white:wan"; gpios = <&qcom_pinmux 22 GPIO_ACTIVE_HIGH>; }; - wan { - label = "r7500:white:wan"; + wan_amber { + label = "r7500:amber:wan"; gpios = <&qcom_pinmux 23 GPIO_ACTIVE_HIGH>; }; @@ -355,21 +355,16 @@ gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; }; - power: power { + power_white: power_white { label = "r7500:white:power"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; default-state = "keep"; }; - rfkill { - label = "r7500:white:rfkill"; + wifi { + label = "r7500:white:wifi"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>; }; - - wifi5g { - label = "r7500:white:wifi5g"; - gpios = <&qcom_pinmux 67 GPIO_ACTIVE_HIGH>; - }; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts index 67af68e..4edfbeb 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-r7500v2.dts @@ -404,8 +404,8 @@ default-state = "keep"; }; - rfkill { - label = "r7500v2:white:rfkill"; + wifi { + label = "r7500v2:white:wifi"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>; }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts index ec0aa0c..407c180 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-vr2600v.dts @@ -129,7 +129,6 @@ spi4: spi@1a280000 { status = "ok"; - spi-max-frequency = <50000000>; pinctrl-0 = <&spi_pins>; pinctrl-names = "default"; @@ -401,6 +400,7 @@ power: power { label = "vr2600v:white:power"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; + default-state = "keep"; }; phone { diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts index d23d57a..abc381a 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-nbg6817.dts @@ -58,19 +58,12 @@ }; led_pins: led_pins { - off { - pins = "gpio26", "gpio33", "gpio64"; + mux { + pins = "gpio9", "gpio26", "gpio33", "gpio64"; function = "gpio"; drive-strength = <2>; bias-pull-down; }; - - on { - pins = "gpio9"; - function = "gpio"; - drive-strength = <2>; - bias-pull-up; - }; }; mdio0_pins: mdio0_pins { @@ -117,38 +110,40 @@ }; usb0_pwr_en_pins: usb0_pwr_en_pins { - pwr { - pins = "gpio14"; + mux { + pins = "gpio16", "gpio17"; function = "gpio"; drive-strength = <12>; + }; + + pwr { + pins = "gpio17"; bias-pull-down; output-high; }; ovc { - pins = "gpio15"; - function = "gpio"; - drive-strength = <12>; + pins = "gpio16"; bias-pull-up; - output-high; }; }; usb1_pwr_en_pins: usb1_pwr_en_pins { - pwr { - pins = "gpio17"; + mux { + pins = "gpio14", "gpio15"; function = "gpio"; drive-strength = <12>; + }; + + pwr { + pins = "gpio14"; bias-pull-down; output-high; }; ovc { - pins = "gpio16"; - function = "gpio"; - drive-strength = <12>; + pins = "gpio15"; bias-pull-up; - output-high; }; }; }; @@ -173,14 +168,14 @@ spi4: spi@1a280000 { status = "ok"; - spi-max-frequency = <50000000>; + pinctrl-0 = <&spi_pins>; pinctrl-names = "default"; cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>; flash: m25p80@0 { - compatible = "s25fl512s"; + compatible = "jedec,spi-nor"; #address-cells = <1>; #size-cells = <1>; spi-max-frequency = <51200000>; @@ -371,17 +366,22 @@ power: power { label = "nbg6817:white:power"; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>; + default-state = "keep"; }; - wifi { - label = "nbg6817:amber:wifi"; + wifi2g { + label = "nbg6817:amber:wifi2g"; gpios = <&qcom_pinmux 33 GPIO_ACTIVE_HIGH>; }; + /* wifi2g amber from the manual is missing */ + wifi5g { label = "nbg6817:amber:wifi5g"; gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; }; + + /* wifi5g amber from the manual is missing */ }; }; diff --git a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts index 42d6e2b..79c8334 100644 --- a/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts +++ b/target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065-r7800.dts @@ -31,7 +31,7 @@ mdio-gpio0 = &mdio0; led-boot = &power_white; - led-failsafe = &power_white; + led-failsafe = &power_amber; led-running = &power_white; led-upgrade = &power_amber; }; @@ -62,7 +62,7 @@ led_pins: led_pins { pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23", - "gpio24","gpio26", "gpio53", "gpio64", "gpio67"; + "gpio24","gpio26", "gpio53", "gpio64"; function = "gpio"; drive-strength = <2>; bias-pull-down; @@ -221,7 +221,7 @@ spi5: spi@1a280000 { status = "ok"; - spi-max-frequency = <50000000>; + pinctrl-0 = <&spi_pins>; pinctrl-names = "default"; @@ -244,14 +244,14 @@ status = "ok"; spi6: spi@16580000 { status = "ok"; - spi-max-frequency = <6000000>; + pinctrl-0 = <&spi6_pins>; pinctrl-names = "default"; cs-gpios = <&qcom_pinmux 57 GPIO_ACTIVE_HIGH>; spi-nor@0 { - compatible = "spi-nor"; + compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <6000000>; }; @@ -516,7 +516,7 @@ power_white: power_white { label = "r7800:white:power"; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>; - default-state = "on"; + default-state = "keep"; }; power_amber: power_amber { @@ -549,8 +549,8 @@ gpios = <&qcom_pinmux 26 GPIO_ACTIVE_HIGH>; }; - rfkill { - label = "r7800:white:rfkill"; + wifi { + label = "r7800:white:wifi"; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_HIGH>; }; @@ -558,11 +558,6 @@ label = "r7800:white:wps"; gpios = <&qcom_pinmux 24 GPIO_ACTIVE_HIGH>; }; - - wifi { - label = "r7800:white:wifi"; - gpios = <&qcom_pinmux 67 GPIO_ACTIVE_HIGH>; - }; }; }; |