ipq4019: fix dts white-space

Replace blanks with tabs
Remove whitespace from otherwise empty lines

Signed-off-by: Felix Baumann <felix.bau@gmx.de>
This commit is contained in:
Felix Baumann 2023-02-08 02:25:00 +01:00
parent 712681458a
commit 1c31ca5da9
8 changed files with 388 additions and 388 deletions

View File

@ -182,17 +182,17 @@
}; };
&gmac { &gmac {
status = "okay"; status = "okay";
}; };
&switch { &switch {
status = "okay"; status = "okay";
}; };
&swport5 { &swport5 {
status = "okay"; status = "okay";
label = "lan"; label = "lan";
}; };
&tlmm { &tlmm {

View File

@ -196,9 +196,9 @@
}; };
partition@180000 { partition@180000 {
label = "log"; label = "log";
reg = <0x00180000 0x00020000>; reg = <0x00180000 0x00020000>;
}; };
}; };
}; };
@ -262,9 +262,9 @@
}; };
&blsp1_i2c3 { &blsp1_i2c3 {
status = "okay"; status = "okay";
pinctrl-0 = <&i2c_0_pins>; pinctrl-0 = <&i2c_0_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
&usb2 { &usb2 {

View File

@ -222,18 +222,18 @@
}; };
&gmac { &gmac {
status = "okay"; status = "okay";
}; };
&switch { &switch {
status = "okay"; status = "okay";
/delete-property/ psgmii-ethphy; /delete-property/ psgmii-ethphy;
}; };
&swport5 { &swport5 {
status = "okay"; status = "okay";
label = "lan"; label = "lan";
phy-mode = "rgmii"; phy-mode = "rgmii";
}; };

View File

@ -158,12 +158,12 @@
line-name = "enable USB power"; line-name = "enable USB power";
}; };
enable-mpcie-power { enable-mpcie-power {
gpio-hog; gpio-hog;
gpios = <51 GPIO_ACTIVE_HIGH>; gpios = <51 GPIO_ACTIVE_HIGH>;
output-high; output-high;
line-name = "enable mPCI-E power"; line-name = "enable mPCI-E power";
}; };
}; };

View File

@ -7,513 +7,513 @@
#include <dt-bindings/leds/common.h> #include <dt-bindings/leds/common.h>
/ { / {
model = "Linksys WHW03 V2 (Velop)"; model = "Linksys WHW03 V2 (Velop)";
compatible = "linksys,whw03v2", "qcom,ipq4019"; compatible = "linksys,whw03v2", "qcom,ipq4019";
aliases { aliases {
led-boot = &led_blue; led-boot = &led_blue;
led-failsafe = &led_red; led-failsafe = &led_red;
led-running = &led_green; led-running = &led_green;
led-upgrade = &led_red; led-upgrade = &led_red;
}; };
// The arguments rootfstype and ro are needed // The arguments rootfstype and ro are needed
// to override the default bootargs // to override the default bootargs
chosen { chosen {
bootargs-append = " root=/dev/ubiblock0_0 rootfstype=squashfs ro"; bootargs-append = " root=/dev/ubiblock0_0 rootfstype=squashfs ro";
stdout-path = &blsp1_uart1; stdout-path = &blsp1_uart1;
}; };
soc { soc {
ess-tcsr@1953000 { ess-tcsr@1953000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1953000 0x1000>; reg = <0x1953000 0x1000>;
qcom,ess-interface-select = <TCSR_ESS_PSGMII>; qcom,ess-interface-select = <TCSR_ESS_PSGMII>;
}; };
tcsr@1949000 { tcsr@1949000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1949000 0x100>; reg = <0x1949000 0x100>;
qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>; qcom,wifi_glb_cfg = <TCSR_WIFI_GLB_CFG>;
}; };
tcsr@194b000 { tcsr@194b000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x194b000 0x100>; reg = <0x194b000 0x100>;
qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>; qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
}; };
tcsr@1957000 { tcsr@1957000 {
compatible = "qcom,tcsr"; compatible = "qcom,tcsr";
reg = <0x1957000 0x100>; reg = <0x1957000 0x100>;
qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>; qcom,wifi_noc_memtype_m0_m2 = <TCSR_WIFI_NOC_MEMTYPE_M0_M2>;
}; };
}; };
keys { keys {
compatible = "gpio-keys"; compatible = "gpio-keys";
reset { reset {
label = "reset"; label = "reset";
gpios = <&tlmm 18 GPIO_ACTIVE_LOW>; gpios = <&tlmm 18 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
}; };
&tlmm { &tlmm {
mdio_pins: mdio-pinmux { mdio_pins: mdio-pinmux {
mux-1 { mux-1 {
pins = "gpio6"; pins = "gpio6";
function = "mdio"; function = "mdio";
bias-pull-up; bias-pull-up;
}; };
mux-2 { mux-2 {
pins = "gpio7"; pins = "gpio7";
function = "mdc"; function = "mdc";
bias-pull-up; bias-pull-up;
}; };
}; };
i2c_0_pins: i2c-0-pinmux { i2c_0_pins: i2c-0-pinmux {
mux { mux {
function = "blsp_i2c0"; function = "blsp_i2c0";
pins = "gpio20", "gpio21"; pins = "gpio20", "gpio21";
bias-disable; bias-disable;
}; };
}; };
serial_0_pins: serial0-pinmux { serial_0_pins: serial0-pinmux {
mux { mux {
pins = "gpio16", "gpio17"; pins = "gpio16", "gpio17";
function = "blsp_uart0"; function = "blsp_uart0";
bias-disable; bias-disable;
}; };
}; };
serial_1_pins: serial1-pinmux { serial_1_pins: serial1-pinmux {
mux { mux {
pins = "gpio8", "gpio9", "gpio10", "gpio11"; pins = "gpio8", "gpio9", "gpio10", "gpio11";
function = "blsp_uart1"; function = "blsp_uart1";
bias-disable; bias-disable;
}; };
}; };
spi_0_pins: spi-0-pinmux { spi_0_pins: spi-0-pinmux {
mux { mux {
function = "blsp_spi0"; function = "blsp_spi0";
pins = "gpio13", "gpio14", "gpio15"; pins = "gpio13", "gpio14", "gpio15";
drive-strength = <12>; drive-strength = <12>;
bias-disable; bias-disable;
}; };
mux-cs { mux-cs {
pins = "gpio12"; pins = "gpio12";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
output-high; output-high;
}; };
}; };
spi_1_pins: spi-1-pinmux {
mux-1 {
function = "blsp_spi1";
pins = "gpio44", "gpio46","gpio47";
bias-disable;
};
mux-2 { spi_1_pins: spi-1-pinmux {
pins = "gpio31", "gpio45", "gpio49"; mux-1 {
function = "gpio"; function = "blsp_spi1";
bias-pull-up; pins = "gpio44", "gpio46","gpio47";
output-high; bias-disable;
}; };
host-interrupt { mux-2 {
pins = "gpio42"; pins = "gpio31", "gpio45", "gpio49";
function = "gpio"; function = "gpio";
input; bias-pull-up;
}; output-high;
}; };
wifi_0_pins: wifi0-pinmux { host-interrupt {
btcoexist { pins = "gpio42";
bias-pull-up; function = "gpio";
drive-strength = <6>; input;
function = "gpio"; };
output-high; };
pins = "gpio52";
};
};
zigbee-0 { wifi_0_pins: wifi0-pinmux {
gpio-hog; btcoexist {
gpios = <29 GPIO_ACTIVE_HIGH>; bias-pull-up;
bias-disable; drive-strength = <6>;
output-low; function = "gpio";
}; output-high;
pins = "gpio52";
};
};
zigbee-1 { zigbee-0 {
gpio-hog; gpio-hog;
gpios = <50 GPIO_ACTIVE_HIGH>; gpios = <29 GPIO_ACTIVE_HIGH>;
bias-disable; bias-disable;
input; output-low;
}; };
bluetooth-enable { zigbee-1 {
gpio-hog; gpio-hog;
gpios = <32 GPIO_ACTIVE_HIGH>; gpios = <50 GPIO_ACTIVE_HIGH>;
output-high; bias-disable;
}; input;
};
bluetooth-enable {
gpio-hog;
gpios = <32 GPIO_ACTIVE_HIGH>;
output-high;
};
}; };
&mdio { &mdio {
status = "okay"; status = "okay";
pinctrl-0 = <&mdio_pins>; pinctrl-0 = <&mdio_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
phy-reset-gpios = <&tlmm 19 GPIO_ACTIVE_LOW>; phy-reset-gpios = <&tlmm 19 GPIO_ACTIVE_LOW>;
}; };
&ethphy0 { &ethphy0 {
status = "disabled"; status = "disabled";
}; };
&ethphy1 { &ethphy1 {
status = "disabled"; status = "disabled";
}; };
&ethphy2 { &ethphy2 {
status = "disabled"; status = "disabled";
}; };
&ethphy3 { &ethphy3 {
reg = <0x1b>; reg = <0x1b>;
}; };
&ethphy4 { &ethphy4 {
reg = <0x1c>; reg = <0x1c>;
}; };
&psgmiiphy { &psgmiiphy {
reg = <0x1d>; reg = <0x1d>;
}; };
&watchdog { &watchdog {
status = "okay"; status = "okay";
}; };
&prng { &prng {
status = "okay"; status = "okay";
}; };
&blsp_dma { &blsp_dma {
status = "okay"; status = "okay";
}; };
&cryptobam { &cryptobam {
num-channels = <4>; num-channels = <4>;
qcom,num-ees = <2>; qcom,num-ees = <2>;
status = "okay"; status = "okay";
}; };
&crypto { &crypto {
status = "okay"; status = "okay";
}; };
&blsp1_uart1 { &blsp1_uart1 {
status = "okay"; status = "okay";
pinctrl-0 = <&serial_0_pins>; pinctrl-0 = <&serial_0_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
&blsp1_uart2 { &blsp1_uart2 {
status = "okay"; status = "okay";
pinctrl-0 = <&serial_1_pins>; pinctrl-0 = <&serial_1_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
bluetooth { bluetooth {
compatible = "csr,8811"; compatible = "csr,8811";
enable-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>; enable-gpios = <&tlmm 32 GPIO_ACTIVE_HIGH>;
}; };
}; };
&blsp1_spi2 { &blsp1_spi2 {
pinctrl-0 = <&spi_1_pins>; pinctrl-0 = <&spi_1_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>; cs-gpios = <&tlmm 45 GPIO_ACTIVE_HIGH>;
zigbee@0 { zigbee@0 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
compatible = "silabs,em3581"; compatible = "silabs,em3581";
reg = <0>; reg = <0>;
spi-max-frequency = <12000000>; spi-max-frequency = <12000000>;
}; };
}; };
&blsp1_i2c3 { &blsp1_i2c3 {
pinctrl-0 = <&i2c_0_pins>; pinctrl-0 = <&i2c_0_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay";
// RGB LEDs status = "okay";
pca9633: led-controller {
compatible = "nxp,pca9633";
nxp,hw-blink;
reg = <0x62>;
#address-cells = <1>;
#size-cells = <0>;
led_red: red@0 { // RGB LEDs
label = "red"; pca9633: led-controller {
color = <LED_COLOR_ID_RED>; compatible = "nxp,pca9633";
function = LED_FUNCTION_INDICATOR; nxp,hw-blink;
linux,default-trigger = "none"; reg = <0x62>;
reg = <0>; #address-cells = <1>;
}; #size-cells = <0>;
led_green: green@1 { led_red: red@0 {
label = "green"; label = "red";
color = <LED_COLOR_ID_GREEN>; color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_INDICATOR; function = LED_FUNCTION_INDICATOR;
linux,default-trigger = "none"; linux,default-trigger = "none";
reg = <1>; reg = <0>;
}; };
led_blue: blue@2 { led_green: green@1 {
label = "blue"; label = "green";
color = <LED_COLOR_ID_BLUE>; color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_INDICATOR; function = LED_FUNCTION_INDICATOR;
linux,default-trigger = "default-on"; linux,default-trigger = "none";
reg = <2>; reg = <1>;
}; };
};
led_blue: blue@2 {
label = "blue";
color = <LED_COLOR_ID_BLUE>;
function = LED_FUNCTION_INDICATOR;
linux,default-trigger = "default-on";
reg = <2>;
};
};
}; };
&usb3_ss_phy { &usb3_ss_phy {
status = "okay"; status = "okay";
}; };
&usb3_hs_phy { &usb3_hs_phy {
status = "okay"; status = "okay";
}; };
&usb2_hs_phy { &usb2_hs_phy {
status = "okay"; status = "okay";
}; };
&nand { &nand {
status = "okay"; status = "okay";
nand@0 { nand@0 {
partitions { partitions {
compatible = "fixed-partitions"; compatible = "fixed-partitions";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
partition@0 { partition@0 {
label = "SBL1"; label = "SBL1";
reg = <0x0 0x100000>; reg = <0x0 0x100000>;
read-only; read-only;
}; };
partition@100000 { partition@100000 {
label = "MIBIB"; label = "MIBIB";
reg = <0x100000 0x100000>; reg = <0x100000 0x100000>;
read-only; read-only;
}; };
partition@200000 { partition@200000 {
label = "QSEE"; label = "QSEE";
reg = <0x200000 0x100000>; reg = <0x200000 0x100000>;
read-only; read-only;
}; };
partition@300000 { partition@300000 {
label = "CDT"; label = "CDT";
reg = <0x300000 0x80000>; reg = <0x300000 0x80000>;
read-only; read-only;
}; };
partition@380000 { partition@380000 {
label = "APPSBL"; label = "APPSBL";
reg = <0x380000 0x200000>; reg = <0x380000 0x200000>;
read-only; read-only;
}; };
partition@580000 { partition@580000 {
label = "ART"; label = "ART";
reg = <0x580000 0x80000>; reg = <0x580000 0x80000>;
compatible = "nvmem-cells"; compatible = "nvmem-cells";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
read-only; read-only;
precal_art_1000: precal@1000 { precal_art_1000: precal@1000 {
reg = <0x1000 0x2f20>; reg = <0x1000 0x2f20>;
}; };
precal_art_5000: precal@5000 { precal_art_5000: precal@5000 {
reg = <0x5000 0x2f20>; reg = <0x5000 0x2f20>;
}; };
precal_art_9000: precal@9000 { precal_art_9000: precal@9000 {
reg = <0x9000 0x2f20>; reg = <0x9000 0x2f20>;
}; };
macaddr_gmac0: macaddr@0 { macaddr_gmac0: macaddr@0 {
reg = <0x0 0x6>; reg = <0x0 0x6>;
}; };
macaddr_gmac1: macaddr@6 { macaddr_gmac1: macaddr@6 {
reg = <0x6 0x6>; reg = <0x6 0x6>;
}; };
}; };
partition@600000 { partition@600000 {
label = "u_env"; label = "u_env";
reg = <0x600000 0x80000>; reg = <0x600000 0x80000>;
}; };
partition@680000 { partition@680000 {
label = "s_env"; label = "s_env";
reg = <0x680000 0x40000>; reg = <0x680000 0x40000>;
}; };
partition@6c0000 { partition@6c0000 {
label = "devinfo"; label = "devinfo";
reg = <0x6c0000 0x40000>; reg = <0x6c0000 0x40000>;
read-only; read-only;
}; };
partition@700000 { partition@700000 {
label = "kernel"; label = "kernel";
reg = <0x700000 0xa100000>; reg = <0x700000 0xa100000>;
}; };
partition@d00000 { partition@d00000 {
label = "rootfs"; label = "rootfs";
reg = <0xd00000 0x9b00000>; reg = <0xd00000 0x9b00000>;
}; };
partition@a800000 { partition@a800000 {
label = "alt_kernel"; label = "alt_kernel";
reg = <0xa800000 0xa100000>; reg = <0xa800000 0xa100000>;
}; };
partition@ae00000 { partition@ae00000 {
label = "alt_rootfs"; label = "alt_rootfs";
reg = <0xae00000 0x9b00000>; reg = <0xae00000 0x9b00000>;
}; };
partition@14900000 { partition@14900000 {
label = "sysdiag"; label = "sysdiag";
reg = <0x14900000 0x200000>; reg = <0x14900000 0x200000>;
read-only; read-only;
}; };
partition@14b00000 { partition@14b00000 {
label = "syscfg"; label = "syscfg";
reg = <0x14b00000 0xb500000>; reg = <0x14b00000 0xb500000>;
read-only; read-only;
}; };
}; };
}; };
}; };
&pcie0 { &pcie0 {
status = "okay"; status = "okay";
perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>; perst-gpios = <&tlmm 38 GPIO_ACTIVE_LOW>;
wake-gpios = <&tlmm 40 GPIO_ACTIVE_LOW>; wake-gpios = <&tlmm 40 GPIO_ACTIVE_LOW>;
clkreq-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>; clkreq-gpios = <&tlmm 39 GPIO_ACTIVE_LOW>;
bridge@0,0 { bridge@0,0 {
reg = <0x00000000 0 0 0 0>; reg = <0x00000000 0 0 0 0>;
#address-cells = <3>; #address-cells = <3>;
#size-cells = <2>; #size-cells = <2>;
ranges; ranges;
wifi2: wifi@1,0 { wifi2: wifi@1,0 {
compatible = "qcom,ath10k"; compatible = "qcom,ath10k";
reg = <0x00010000 0 0 0 0>; reg = <0x00010000 0 0 0 0>;
}; };
}; };
}; };
&qpic_bam { &qpic_bam {
status = "okay"; status = "okay";
}; };
&gmac { &gmac {
status = "okay"; status = "okay";
}; };
&switch { &switch {
status = "okay"; status = "okay";
}; };
&swport4 { &swport4 {
status = "okay"; status = "okay";
label = "lan"; label = "lan";
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_gmac1>; nvmem-cells = <&macaddr_gmac1>;
}; };
&swport5 { &swport5 {
status = "okay"; status = "okay";
label = "wan"; label = "wan";
nvmem-cell-names = "mac-address"; nvmem-cell-names = "mac-address";
nvmem-cells = <&macaddr_gmac0>; nvmem-cells = <&macaddr_gmac0>;
}; };
&wifi0 { &wifi0 {
pinctrl-0 = <&wifi_0_pins>; pinctrl-0 = <&wifi_0_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
qcom,coexist-support = <1>; qcom,coexist-support = <1>;
qcom,coexist-gpio-pin = <0x34>; qcom,coexist-gpio-pin = <0x34>;
ieee80211-freq-limit = <2401000 2473000>; ieee80211-freq-limit = <2401000 2473000>;
qcom,ath10k-calibration-variant = "linksys-whw03v2"; qcom,ath10k-calibration-variant = "linksys-whw03v2";
nvmem-cell-names = "pre-calibration", "mac-address"; nvmem-cell-names = "pre-calibration", "mac-address";
nvmem-cells = <&precal_art_1000>, <&macaddr_gmac0>; nvmem-cells = <&precal_art_1000>, <&macaddr_gmac0>;
mac-address-increment = <1>; mac-address-increment = <1>;
}; };
&wifi1 { &wifi1 {
status = "okay"; status = "okay";
ieee80211-freq-limit = <5170000 5250000>; ieee80211-freq-limit = <5170000 5250000>;
qcom,ath10k-calibration-variant = "linksys-whw03v2"; qcom,ath10k-calibration-variant = "linksys-whw03v2";
nvmem-cell-names = "pre-calibration", "mac-address"; nvmem-cell-names = "pre-calibration", "mac-address";
nvmem-cells = <&precal_art_5000>, <&macaddr_gmac0>; nvmem-cells = <&precal_art_5000>, <&macaddr_gmac0>;
mac-address-increment = <2>; mac-address-increment = <2>;
}; };
&wifi2 { &wifi2 {
status = "okay"; status = "okay";
ieee80211-freq-limit = <5735000 5835000>; ieee80211-freq-limit = <5735000 5835000>;
qcom,ath10k-calibration-variant = "linksys-whw03v2"; qcom,ath10k-calibration-variant = "linksys-whw03v2";
nvmem-cell-names = "pre-calibration", "mac-address"; nvmem-cell-names = "pre-calibration", "mac-address";
nvmem-cells = <&precal_art_9000>, <&macaddr_gmac0>; nvmem-cells = <&precal_art_9000>, <&macaddr_gmac0>;
mac-address-increment = <3>; mac-address-increment = <3>;
}; };

View File

@ -288,29 +288,29 @@
}; };
&gmac { &gmac {
status = "okay"; status = "okay";
}; };
&switch { &switch {
status = "okay"; status = "okay";
}; };
&swport1 { &swport1 {
status = "okay"; status = "okay";
}; };
&swport2 { &swport2 {
status = "okay"; status = "okay";
}; };
&swport3 { &swport3 {
status = "okay"; status = "okay";
}; };
&swport4 { &swport4 {
status = "okay"; status = "okay";
}; };
&swport5 { &swport5 {
status = "okay"; status = "okay";
}; };

View File

@ -92,7 +92,7 @@
/* No driver */ /* No driver */
compatible = "isl,isl28022"; compatible = "isl,isl28022";
reg = <0x40>; reg = <0x40>;
}; };
}; };
}; };

View File

@ -125,17 +125,17 @@
}; };
&gmac { &gmac {
status = "okay"; status = "okay";
}; };
&switch { &switch {
status = "okay"; status = "okay";
}; };
&swport5 { &swport5 {
status = "okay"; status = "okay";
label = "lan"; label = "lan";
}; };
&tlmm { &tlmm {