ipq806x: ArcherC2600: devictree cleanup

add blank lines and use macros for GPIOs

Signed-off-by: Henryk Heisig <hyniu@o2.pl>
master
Henryk Heisig 8 years ago committed by John Crispin
parent d15dc7e85d
commit dbf2feb2b3
  1. 57
      target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8064-c2600.dts

@ -121,7 +121,7 @@
pinctrl-0 = <&spi_pins>; pinctrl-0 = <&spi_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
cs-gpios = <&qcom_pinmux 20 0>; cs-gpios = <&qcom_pinmux 20 GPIO_ACTIVE_HIGH>;
flash: m25p80@0 { flash: m25p80@0 {
compatible = "s25fl256s1"; compatible = "s25fl256s1";
@ -135,119 +135,143 @@
reg = <0x0 0x20000>; reg = <0x0 0x20000>;
read-only; read-only;
}; };
MIBIB@20000 { MIBIB@20000 {
label = "MIBIB"; label = "MIBIB";
reg = <0x20000 0x20000>; reg = <0x20000 0x20000>;
read-only; read-only;
}; };
SBL2@40000 { SBL2@40000 {
label = "SBL2"; label = "SBL2";
reg = <0x40000 0x20000>; reg = <0x40000 0x20000>;
read-only; read-only;
}; };
SBL3@60000 { SBL3@60000 {
label = "SBL3"; label = "SBL3";
reg = <0x60000 0x30000>; reg = <0x60000 0x30000>;
read-only; read-only;
}; };
DDRCONFIG@90000 { DDRCONFIG@90000 {
label = "DDRCONFIG"; label = "DDRCONFIG";
reg = <0x90000 0x10000>; reg = <0x90000 0x10000>;
read-only; read-only;
}; };
SSD@a0000 { SSD@a0000 {
label = "SSD"; label = "SSD";
reg = <0xa0000 0x10000>; reg = <0xa0000 0x10000>;
read-only; read-only;
}; };
TZ@b0000 { TZ@b0000 {
label = "TZ"; label = "TZ";
reg = <0xb0000 0x30000>; reg = <0xb0000 0x30000>;
read-only; read-only;
}; };
RPM@e0000 { RPM@e0000 {
label = "RPM"; label = "RPM";
reg = <0xe0000 0x20000>; reg = <0xe0000 0x20000>;
read-only; read-only;
}; };
fs-uboot@100000 { fs-uboot@100000 {
label = "fs-uboot"; label = "fs-uboot";
reg = <0x100000 0x70000>; reg = <0x100000 0x70000>;
read-only; read-only;
}; };
uboot-env@170000 { uboot-env@170000 {
label = "uboot-env"; label = "uboot-env";
reg = <0x170000 0x40000>; reg = <0x170000 0x40000>;
read-only; read-only;
}; };
radio@1b0000 { radio@1b0000 {
label = "radio"; label = "radio";
reg = <0x1b0000 0x40000>; reg = <0x1b0000 0x40000>;
read-only; read-only;
}; };
os-image@1f0000 { os-image@1f0000 {
label = "os-image"; label = "os-image";
reg = <0x1f0000 0x200000>; reg = <0x1f0000 0x200000>;
}; };
rootfs@3f0000 { rootfs@3f0000 {
label = "rootfs"; label = "rootfs";
reg = <0x3f0000 0x1b00000>; reg = <0x3f0000 0x1b00000>;
}; };
defaultmac: default-mac@1ef0000 { defaultmac: default-mac@1ef0000 {
label = "default-mac"; label = "default-mac";
reg = <0x1ef0000 0x00200>; reg = <0x1ef0000 0x00200>;
read-only; read-only;
}; };
pin@1ef0200 { pin@1ef0200 {
label = "pin"; label = "pin";
reg = <0x1ef0200 0x00200>; reg = <0x1ef0200 0x00200>;
read-only; read-only;
}; };
product-info@1ef0400 { product-info@1ef0400 {
label = "product-info"; label = "product-info";
reg = <0x1ef0400 0x0fc00>; reg = <0x1ef0400 0x0fc00>;
read-only; read-only;
}; };
partition-table@1f00000 { partition-table@1f00000 {
label = "partition-table"; label = "partition-table";
reg = <0x1f00000 0x10000>; reg = <0x1f00000 0x10000>;
read-only; read-only;
}; };
soft-version@1f10000 { soft-version@1f10000 {
label = "soft-version"; label = "soft-version";
reg = <0x1f10000 0x10000>; reg = <0x1f10000 0x10000>;
read-only; read-only;
}; };
support-list@1f20000 { support-list@1f20000 {
label = "support-list"; label = "support-list";
reg = <0x1f20000 0x10000>; reg = <0x1f20000 0x10000>;
read-only; read-only;
}; };
profile@1f30000 { profile@1f30000 {
label = "profile"; label = "profile";
reg = <0x1f30000 0x10000>; reg = <0x1f30000 0x10000>;
read-only; read-only;
}; };
default-config@1f40000 { default-config@1f40000 {
label = "default-config"; label = "default-config";
reg = <0x1f40000 0x10000>; reg = <0x1f40000 0x10000>;
read-only; read-only;
}; };
user-config@1f50000 { user-config@1f50000 {
label = "user-config"; label = "user-config";
reg = <0x1f50000 0x40000>; reg = <0x1f50000 0x40000>;
read-only; read-only;
}; };
qos-db@1f90000 { qos-db@1f90000 {
label = "qos-db"; label = "qos-db";
reg = <0x1f90000 0x40000>; reg = <0x1f90000 0x40000>;
read-only; read-only;
}; };
usb-config@1fd0000 { usb-config@1fd0000 {
label = "usb-config"; label = "usb-config";
reg = <0x1fd0000 0x10000>; reg = <0x1fd0000 0x10000>;
read-only; read-only;
}; };
log@1fe0000 { log@1fe0000 {
label = "log"; label = "log";
reg = <0x1fe0000 0x20000>; reg = <0x1fe0000 0x20000>;
@ -295,7 +319,7 @@
compatible = "virtual,mdio-gpio"; compatible = "virtual,mdio-gpio";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
gpios = <&qcom_pinmux 1 0 &qcom_pinmux 0 0>; gpios = <&qcom_pinmux 1 GPIO_ACTIVE_HIGH &qcom_pinmux 0 GPIO_ACTIVE_HIGH>;
pinctrl-0 = <&mdio0_pins>; pinctrl-0 = <&mdio0_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
@ -355,24 +379,25 @@
wifi { wifi {
label = "wifi"; label = "wifi";
gpios = <&qcom_pinmux 49 1>; gpios = <&qcom_pinmux 49 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WLAN>; linux,code = <KEY_WLAN>;
}; };
reset { reset {
label = "reset"; label = "reset";
gpios = <&qcom_pinmux 64 1>; gpios = <&qcom_pinmux 64 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
wps { wps {
label = "wps"; label = "wps";
gpios = <&qcom_pinmux 65 1>; gpios = <&qcom_pinmux 65 GPIO_ACTIVE_LOW>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
ledgeneral { ledgeneral {
label = "ledgeneral"; label = "ledgeneral";
gpios = <&qcom_pinmux 16 1>; gpios = <&qcom_pinmux 16 GPIO_ACTIVE_LOW>;
linux,code = <KEY_DOLLAR>; linux,code = <KEY_DOLLAR>;
}; };
}; };
@ -382,31 +407,37 @@
lan { lan {
label = "c2600:white:lan"; label = "c2600:white:lan";
gpios = <&qcom_pinmux 6 0>; gpios = <&qcom_pinmux 6 GPIO_ACTIVE_HIGH>;
}; };
usb4 { usb4 {
label = "c2600:white:usb_4"; label = "c2600:white:usb_4";
gpios = <&qcom_pinmux 7 0>; gpios = <&qcom_pinmux 7 GPIO_ACTIVE_HIGH>;
}; };
usb2 { usb2 {
label = "c2600:white:usb_2"; label = "c2600:white:usb_2";
gpios = <&qcom_pinmux 8 0>; gpios = <&qcom_pinmux 8 GPIO_ACTIVE_HIGH>;
}; };
wps { wps {
label = "c2600:white:wps"; label = "c2600:white:wps";
gpios = <&qcom_pinmux 9 0>; gpios = <&qcom_pinmux 9 GPIO_ACTIVE_HIGH>;
}; };
wan_blue { wan_blue {
label = "c2600:white:wan"; label = "c2600:white:wan";
gpios = <&qcom_pinmux 33 1>; gpios = <&qcom_pinmux 33 GPIO_ACTIVE_LOW>;
}; };
power: status { power: status {
label = "c2600:white:status"; label = "c2600:white:status";
gpios = <&qcom_pinmux 53 0>; gpios = <&qcom_pinmux 53 GPIO_ACTIVE_HIGH>;
}; };
ledgnr: ledgnr { ledgnr: ledgnr {
label = "c2600:white:ledgnr"; label = "c2600:white:ledgnr";
gpios = <&qcom_pinmux 66 0>; gpios = <&qcom_pinmux 66 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };

Loading…
Cancel
Save