From: Paul Wassi Date: Thu, 23 Aug 2018 07:35:04 +0000 (+0200) Subject: treewide: fix some cosmetic glitches in dts files X-Git-Tag: v19.07.0-rc1~2699 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e348ccc4e6e9d16d56bec77b69628205d58e6750;p=openwrt%2Fopenwrt.git treewide: fix some cosmetic glitches in dts files - fix single spaces hidden by a tab - replace indentation with spaces by tabs - make empty lines empty - drop trailing whitespace - drop unnecessary blank lines Signed-off-by: Mathias Kresin Signed-off-by: Paul Wassi --- diff --git a/target/linux/apm821xx/dts/meraki-mr24.dts b/target/linux/apm821xx/dts/meraki-mr24.dts index e06d37cbbd..7152c0296c 100644 --- a/target/linux/apm821xx/dts/meraki-mr24.dts +++ b/target/linux/apm821xx/dts/meraki-mr24.dts @@ -29,7 +29,6 @@ chosen { linux,stdout-path = "/plb/opb/serial@ef600400"; }; - }; diff --git a/target/linux/apm821xx/dts/meraki-mx60.dts b/target/linux/apm821xx/dts/meraki-mx60.dts index cf20e2e9e9..042c1c4303 100644 --- a/target/linux/apm821xx/dts/meraki-mx60.dts +++ b/target/linux/apm821xx/dts/meraki-mx60.dts @@ -29,7 +29,6 @@ chosen { linux,stdout-path = "/plb/opb/serial@ef600400"; }; - }; &CRYPTO { diff --git a/target/linux/at91/files/arch/arm/boot/dts/at91-q5xr5.dts b/target/linux/at91/files/arch/arm/boot/dts/at91-q5xr5.dts index 728553bce0..e6451202aa 100644 --- a/target/linux/at91/files/arch/arm/boot/dts/at91-q5xr5.dts +++ b/target/linux/at91/files/arch/arm/boot/dts/at91-q5xr5.dts @@ -106,7 +106,7 @@ watchdog@fffffd40 { status = "okay"; }; - + spi0: spi@fffc8000 { #address-cells = <1>; #size-cells = <0>; @@ -124,7 +124,7 @@ reg = <0>; #address-cells = <1>; #size-cells = <1>; - + at91boot@0 { label = "at91boot"; reg = <0x0 0x4000>; @@ -167,7 +167,7 @@ }; }; }; - + usb0: ohci@500000 { num-ports = <2>; status = "okay"; diff --git a/target/linux/at91/files/arch/arm/boot/dts/lmu5000.dts b/target/linux/at91/files/arch/arm/boot/dts/lmu5000.dts index fb3dd565a3..4651fdf241 100644 --- a/target/linux/at91/files/arch/arm/boot/dts/lmu5000.dts +++ b/target/linux/at91/files/arch/arm/boot/dts/lmu5000.dts @@ -39,7 +39,6 @@ atmel,pins = <2 1 0x2 0x0>; /* PC1 periph B */ }; - }; }; diff --git a/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts b/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts index 9c28a2197c..1252192e44 100644 --- a/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts +++ b/target/linux/at91/files/arch/arm/boot/dts/wb50n.dts @@ -48,11 +48,11 @@ spi1: spi@f8008000 { status = "okay"; - spidev@0 { - compatible = "spidev"; - reg = <0>; - spi-max-frequency = <8000000>; - }; + spidev@0 { + compatible = "spidev"; + reg = <0>; + spi-max-frequency = <8000000>; + }; }; watchdog@fffffe40 { @@ -71,7 +71,6 @@ usb2: ehci@00700000 { status = "okay"; }; - }; gpio_keys { @@ -93,25 +92,25 @@ }; }; - leds { - compatible = "gpio-leds"; - - led0 { - label = "wb50n:blue:led0"; - gpios = <&pioA 12 GPIO_ACTIVE_LOW>; - default-state = "off"; - }; - - led1 { - label = "wb50n:green:led1"; - gpios = <&pioA 24 GPIO_ACTIVE_LOW>; - default-state = "off"; - }; - - led2 { - label = "wb50n:red:led2"; - gpios = <&pioA 26 GPIO_ACTIVE_LOW>; - default-state = "off"; - }; - }; + leds { + compatible = "gpio-leds"; + + led0 { + label = "wb50n:blue:led0"; + gpios = <&pioA 12 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + + led1 { + label = "wb50n:green:led1"; + gpios = <&pioA 24 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + + led2 { + label = "wb50n:red:led2"; + gpios = <&pioA 26 GPIO_ACTIVE_LOW>; + default-state = "off"; + }; + }; }; diff --git a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts index 5a3de683ed..a28ff44445 100644 --- a/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts +++ b/target/linux/ath79/dts/ar7161_dlink_dir-825-b1.dts @@ -85,7 +85,6 @@ default-state = "off"; linux,default-trigger = "phy1tpt"; }; - }; keys { @@ -125,7 +124,6 @@ phy-mode = "rgmii"; }; }; - }; }; @@ -181,7 +179,7 @@ }; &pll { - clocks = <&extosc>; + clocks = <&extosc>; }; &spi { @@ -239,7 +237,6 @@ speed = <1000>; full-duplex; }; - }; ð1 { @@ -247,5 +244,4 @@ pll-data = <0x11110000 0x00001099 0x00991099>; phy-handle = <&phy4>; - }; diff --git a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts index a0a439b0b5..8ff2c71952 100644 --- a/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts +++ b/target/linux/ath79/dts/ar7242_buffalo_wzr-hp-g450h.dts @@ -43,7 +43,6 @@ gpios = <&gpio 12 GPIO_ACTIVE_HIGH>; debounce-interval = <60>; }; - }; leds { diff --git a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts index e899e02fe6..e4bd7c2094 100644 --- a/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts +++ b/target/linux/ath79/dts/ar7242_tplink_tl-wr2543-v1.dts @@ -80,7 +80,6 @@ default-state = "off"; linux,default-trigger = "phy0tpt"; }; - }; rtl8367 { diff --git a/target/linux/ath79/dts/ar9331_pisen_wmm003n.dts b/target/linux/ath79/dts/ar9331_pisen_wmm003n.dts index d44ce67025..5e763df510 100644 --- a/target/linux/ath79/dts/ar9331_pisen_wmm003n.dts +++ b/target/linux/ath79/dts/ar9331_pisen_wmm003n.dts @@ -47,7 +47,6 @@ gpio = <&gpio 8 GPIO_ACTIVE_HIGH>; enable-active-high; }; - }; &spi { diff --git a/target/linux/ath79/dts/ar9341_pcs_cr3000.dts b/target/linux/ath79/dts/ar9341_pcs_cr3000.dts index 3a7903eed2..5dcfd89ae6 100644 --- a/target/linux/ath79/dts/ar9341_pcs_cr3000.dts +++ b/target/linux/ath79/dts/ar9341_pcs_cr3000.dts @@ -154,7 +154,6 @@ phy-handle = <&swphy0>; mtd-mac-address = <&art 0x0>; mtd-mac-address-increment = <1>; - }; ð1 { diff --git a/target/linux/ath79/dts/ar9344_pcs_cap324.dts b/target/linux/ath79/dts/ar9344_pcs_cap324.dts index bc146bb672..bd7c2a60dc 100644 --- a/target/linux/ath79/dts/ar9344_pcs_cap324.dts +++ b/target/linux/ath79/dts/ar9344_pcs_cap324.dts @@ -74,7 +74,6 @@ default-state = "off"; }; }; - }; &ref { diff --git a/target/linux/ath79/dts/ar9344_pcs_cr5000.dts b/target/linux/ath79/dts/ar9344_pcs_cr5000.dts index 869322ac40..8262303141 100644 --- a/target/linux/ath79/dts/ar9344_pcs_cr5000.dts +++ b/target/linux/ath79/dts/ar9344_pcs_cr5000.dts @@ -63,7 +63,6 @@ default-state = "off"; }; }; - }; &ref { @@ -218,7 +217,6 @@ swconfig,segment = "wan"; swconfig,portmap = <5 5>; }; - }; &wmac { diff --git a/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts b/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts index 4a3cda5358..d1cb6d8d12 100644 --- a/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts +++ b/target/linux/ath79/dts/qca9558_tplink_tl-wdr4900-v2.dts @@ -96,7 +96,6 @@ gpio-export,output = <1>; gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; }; - }; }; diff --git a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts index 6b2a35c35a..6b30c036ea 100644 --- a/target/linux/ath79/dts/qca9561_avm_fritz4020.dts +++ b/target/linux/ath79/dts/qca9561_avm_fritz4020.dts @@ -45,7 +45,6 @@ output-high; line-name = "gpio-latch-bit"; }; - }; }; diff --git a/target/linux/brcm63xx/dts/ad1018-nor.dts b/target/linux/brcm63xx/dts/ad1018-nor.dts index 61fde75072..4794d45d74 100644 --- a/target/linux/brcm63xx/dts/ad1018-nor.dts +++ b/target/linux/brcm63xx/dts/ad1018-nor.dts @@ -36,7 +36,6 @@ linux,code = ; }; }; - }; &pinctrl { diff --git a/target/linux/brcm63xx/dts/bcm96318ref.dts b/target/linux/brcm63xx/dts/bcm96318ref.dts index d0ca2fc204..835b1c2f30 100644 --- a/target/linux/brcm63xx/dts/bcm96318ref.dts +++ b/target/linux/brcm63xx/dts/bcm96318ref.dts @@ -31,7 +31,7 @@ gpios = <&pinctrl 34 1>; linux,code = ; }; - }; + }; gpio-leds { compatible = "gpio-leds"; diff --git a/target/linux/brcm63xx/dts/bcm96318ref_p300.dts b/target/linux/brcm63xx/dts/bcm96318ref_p300.dts index ef9b5c4aaf..5cd5b78c34 100644 --- a/target/linux/brcm63xx/dts/bcm96318ref_p300.dts +++ b/target/linux/brcm63xx/dts/bcm96318ref_p300.dts @@ -31,7 +31,7 @@ gpios = <&pinctrl 34 1>; linux,code = ; }; - }; + }; gpio-leds { compatible = "gpio-leds"; diff --git a/target/linux/brcm63xx/dts/bcm963268bu_p300.dts b/target/linux/brcm63xx/dts/bcm963268bu_p300.dts index f7477a3a25..6122d7306b 100644 --- a/target/linux/brcm63xx/dts/bcm963268bu_p300.dts +++ b/target/linux/brcm63xx/dts/bcm963268bu_p300.dts @@ -31,7 +31,7 @@ gpios = <&pinctrl 33 0>; linux,code = ; }; - }; + }; }; &hsspi { diff --git a/target/linux/brcm63xx/dts/bcm963269bhr.dts b/target/linux/brcm63xx/dts/bcm963269bhr.dts index de7255b130..2e3211083c 100644 --- a/target/linux/brcm63xx/dts/bcm963269bhr.dts +++ b/target/linux/brcm63xx/dts/bcm963269bhr.dts @@ -25,7 +25,7 @@ gpios = <&pinctrl 32 0>; linux,code = ; }; - }; + }; gpio-leds { compatible = "gpio-leds"; diff --git a/target/linux/brcm63xx/dts/dgnd3700v1.dts b/target/linux/brcm63xx/dts/dgnd3700v1.dts index e2884703ad..a98664822f 100644 --- a/target/linux/brcm63xx/dts/dgnd3700v1.dts +++ b/target/linux/brcm63xx/dts/dgnd3700v1.dts @@ -119,7 +119,7 @@ reg = <0x1fe0000 0x20000>; }; }; -}; +}; &pinctrl { pinctrl-names = "default"; diff --git a/target/linux/brcm63xx/dts/r5010unv2.dts b/target/linux/brcm63xx/dts/r5010unv2.dts index c134d52ca8..af9633c8b8 100644 --- a/target/linux/brcm63xx/dts/r5010unv2.dts +++ b/target/linux/brcm63xx/dts/r5010unv2.dts @@ -13,7 +13,7 @@ stdout-path = "serial0:115200n8"; }; - + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/brcm63xx/dts/rta770bw.dts b/target/linux/brcm63xx/dts/rta770bw.dts index 89cf87248f..fd99780f88 100644 --- a/target/linux/brcm63xx/dts/rta770bw.dts +++ b/target/linux/brcm63xx/dts/rta770bw.dts @@ -25,7 +25,7 @@ gpios = <&gpio0 13 1>; linux,code = ; }; - }; + }; gpio-leds { compatible = "gpio-leds"; diff --git a/target/linux/brcm63xx/dts/rta770w.dts b/target/linux/brcm63xx/dts/rta770w.dts index 6a1dfd2f43..e057a70ed8 100644 --- a/target/linux/brcm63xx/dts/rta770w.dts +++ b/target/linux/brcm63xx/dts/rta770w.dts @@ -25,7 +25,7 @@ gpios = <&gpio0 13 1>; linux,code = ; }; - }; + }; gpio-leds { compatible = "gpio-leds"; diff --git a/target/linux/brcm63xx/dts/vg50.dts b/target/linux/brcm63xx/dts/vg50.dts index 7f11da2bd8..140213b583 100644 --- a/target/linux/brcm63xx/dts/vg50.dts +++ b/target/linux/brcm63xx/dts/vg50.dts @@ -31,7 +31,7 @@ gpios = <&pinctrl 34 0>; linux,code = ; }; - }; + }; }; &hsspi { diff --git a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts index d94c8d3488..4d366142a1 100644 --- a/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts +++ b/target/linux/ipq40xx/files-4.14/arch/arm/boot/dts/qcom-ipq4018-nbg6617.dts @@ -183,7 +183,7 @@ output-low; }; }; - led_pins: led_pinmux { + led_pins: led_pinmux { mux { pins = "gpio0", "gpio1", "gpio3", "gpio5", "gpio58"; drive-strength = <0x8>; diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts index a1e0f9a48b..642c1d91b1 100644 --- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts +++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-ea8500.dts @@ -410,4 +410,3 @@ /delete-node/ &pcie2_pins; /delete-node/ &pcie2; - diff --git a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts index ed26074a78..34377e3504 100644 --- a/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts +++ b/target/linux/ipq806x/files-4.14/arch/arm/boot/dts/qcom-ipq8064-wpq864.dts @@ -57,7 +57,7 @@ }; soc { - rpm@108000 { + rpm@108000 { pinctrl-0 = <&rpm_pins>; pinctrl-names = "default"; }; @@ -443,7 +443,7 @@ led_pins: led_pins { mux { - pins = "gpio7", "gpio8", "gpio9", "gpio22", + pins = "gpio7", "gpio8", "gpio9", "gpio22", "gpio23", "gpio24", "gpio25", "gpio53"; function = "gpio"; drive-strength = <2>; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ALL0333CJ.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ALL0333CJ.dts index a157104dbf..df62ac2d92 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ALL0333CJ.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ALL0333CJ.dts @@ -18,7 +18,6 @@ led-dsl = &dsl; led-internet = &online_green; }; - }; memory@0 { diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts index 05e9da2297..e307b381a9 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ARV4519PW.dts @@ -181,7 +181,7 @@ }; }; -&pci0 { +&pci0 { status = "okay"; lantiq,external-clock; gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ASL56026.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ASL56026.dts index aea3de41c6..90bfcabcb5 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ASL56026.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/ASL56026.dts @@ -93,7 +93,6 @@ phy-mode = "mii"; phy-handle = <&phy14>; }; - }; mdio@0 { @@ -111,7 +110,6 @@ reg = <0x14>; compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22"; }; - }; }; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts index a9c5b3c24b..4821a66b0d 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88388.dts @@ -28,7 +28,7 @@ pinctrl { led_pins: led-pins { - lantiq,pins = "io34", "io35", "io36", "io37", "io38", + lantiq,pins = "io34", "io35", "io36", "io37", "io38", "io39", "io40", "io41"; lantiq,function = "gpio"; }; @@ -100,7 +100,6 @@ gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; default-state = "off"; }; - }; }; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts index ceb81ea13b..0ac74b3309 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY88444.dts @@ -14,7 +14,7 @@ memory@0 { device_type = "memory"; - reg = <0x0 0x4000000>; // 64M at 0x0 + reg = <0x0 0x4000000>; // 64M at 0x0 }; gpio-keys { @@ -74,7 +74,6 @@ gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; default-state = "off"; }; - }; }; diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98021.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98021.dts index 7b2e490fcc..38154d6f1c 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98021.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/EASY98021.dts @@ -15,7 +15,7 @@ memory@0 { device_type = "memory"; - reg = <0x0 0x4000000>; // 64M at 0x0 + reg = <0x0 0x4000000>; // 64M at 0x0 }; gpio-keys { @@ -31,12 +31,12 @@ /* Place-holder for SIM-Card connector, to list the used GPIOs, no official binding */ compatible = "gpio-mmc"; - gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>, - <&gpio0 3 GPIO_ACTIVE_HIGH>, - <&gpio0 2 GPIO_ACTIVE_HIGH>, - <0>; /* no CS */ + gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>, + <&gpio0 3 GPIO_ACTIVE_HIGH>, + <&gpio0 2 GPIO_ACTIVE_HIGH>, + <0>; /* no CS */ gpio-names = "di", "do", "clk", "cs"; - reset-gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>; + reset-gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>; }; pinctrl { diff --git a/target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043s.dts b/target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043s.dts index e2d6bc1848..3896f39e5a 100644 --- a/target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043s.dts +++ b/target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043s.dts @@ -109,7 +109,7 @@ gpios = <&gpio4 1 GPIO_ACTIVE_LOW>; }; }; - + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; diff --git a/target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts b/target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts index de9aa62d2f..cfbc0d0373 100644 --- a/target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts +++ b/target/linux/layerscape/files/arch/arm64/boot/dts/freescale/traverse-ls1043v.dts @@ -94,7 +94,7 @@ gpios = <&pca9555 6 GPIO_ACTIVE_HIGH>; }; }; - + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; @@ -249,5 +249,5 @@ /* No SATA/AHCI on this board */ &sata { - status = "disabled"; + status = "disabled"; }; diff --git a/target/linux/mvebu/files-4.14/arch/arm/boot/dts/armada-385-linksys-venom.dts b/target/linux/mvebu/files-4.14/arch/arm/boot/dts/armada-385-linksys-venom.dts index 00a4ee9f39..2e0bed815f 100644 --- a/target/linux/mvebu/files-4.14/arch/arm/boot/dts/armada-385-linksys-venom.dts +++ b/target/linux/mvebu/files-4.14/arch/arm/boot/dts/armada-385-linksys-venom.dts @@ -121,51 +121,51 @@ /* Spansion S34ML02G2 256MiB, OEM Layout */ partition@0 { label = "u-boot"; - reg = <0x0000000 0x200000>; /* 2MB */ + reg = <0x0000000 0x200000>; /* 2MB */ read-only; }; partition@200000 { label = "u_env"; - reg = <0x200000 0x20000>; /* 128KB */ + reg = <0x200000 0x20000>; /* 128KB */ }; partition@220000 { label = "s_env"; - reg = <0x220000 0x40000>; /* 256KB */ + reg = <0x220000 0x40000>; /* 256KB */ }; partition@180000 { label = "unused_area"; - reg = <0x260000 0x5c0000>; /* 5.75MB */ + reg = <0x260000 0x5c0000>; /* 5.75MB */ }; partition@7e0000 { label = "devinfo"; - reg = <0x7e0000 0x40000>; /* 256KB */ + reg = <0x7e0000 0x40000>; /* 256KB */ read-only; }; /* kernel1 overlaps with rootfs1 by design */ partition@900000 { label = "kernel1"; - reg = <0x900000 0x7b00000>; /* 123MB */ + reg = <0x900000 0x7b00000>; /* 123MB */ }; partition@c00000 { label = "rootfs1"; - reg = <0xc00000 0x7800000>; /* 120MB */ + reg = <0xc00000 0x7800000>; /* 120MB */ }; /* kernel2 overlaps with rootfs2 by design */ partition@8400000 { label = "kernel2"; - reg = <0x8400000 0x7b00000>; /* 123MB */ + reg = <0x8400000 0x7b00000>; /* 123MB */ }; partition@8700000 { label = "rootfs2"; - reg = <0x8700000 0x7800000>; /* 120MB */ + reg = <0x8700000 0x7800000>; /* 120MB */ }; /* last MB is for the BBT, not writable */ diff --git a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts index 834ea77653..d3a06fdab2 100644 --- a/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts +++ b/target/linux/oxnas/files/arch/arm/boot/dts/ox820-mitrastar-stg212.dts @@ -64,7 +64,6 @@ gpios = <&gpio1 9 0 &gpio1 10 0>; i2c-gpio,delay-us = <10>; }; - }; &uart0 { diff --git a/target/linux/ramips/dts/ArcherMR200.dts b/target/linux/ramips/dts/ArcherMR200.dts index 1b44a4b5ee..2735d74061 100644 --- a/target/linux/ramips/dts/ArcherMR200.dts +++ b/target/linux/ramips/dts/ArcherMR200.dts @@ -97,7 +97,6 @@ gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; }; }; - }; &gpio1 { diff --git a/target/linux/ramips/dts/D240.dts b/target/linux/ramips/dts/D240.dts index fc87383b0f..8eddbecd70 100644 --- a/target/linux/ramips/dts/D240.dts +++ b/target/linux/ramips/dts/D240.dts @@ -65,7 +65,6 @@ gpio-export,output = <1>; gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>; }; - }; gpio-leds { diff --git a/target/linux/ramips/dts/DWR-118-A2.dts b/target/linux/ramips/dts/DWR-118-A2.dts index f36ecb5b20..fd8f932412 100644 --- a/target/linux/ramips/dts/DWR-118-A2.dts +++ b/target/linux/ramips/dts/DWR-118-A2.dts @@ -57,8 +57,6 @@ label = "dwr-118-a2:green:usb"; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; }; - - }; gpio_export { @@ -69,8 +67,8 @@ gpio-export,name = "usb"; gpio-export,output = <1>; gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; + }; }; - }; }; &gpio1 { diff --git a/target/linux/ramips/dts/GB-PC2.dts b/target/linux/ramips/dts/GB-PC2.dts index ae73115608..dcef40ff12 100644 --- a/target/linux/ramips/dts/GB-PC2.dts +++ b/target/linux/ramips/dts/GB-PC2.dts @@ -65,7 +65,6 @@ label = "gb-pc2:green:lan3"; gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; }; - }; }; diff --git a/target/linux/ramips/dts/GL-MT300A.dts b/target/linux/ramips/dts/GL-MT300A.dts index d7ec92ee43..d83bb3955a 100644 --- a/target/linux/ramips/dts/GL-MT300A.dts +++ b/target/linux/ramips/dts/GL-MT300A.dts @@ -35,7 +35,6 @@ label = "gl-mt300a:usb"; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; }; - }; gpio-keys-polled { @@ -58,7 +57,7 @@ gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; linux,code = ; }; - }; + }; }; &gpio0 { diff --git a/target/linux/ramips/dts/GL-MT300N-V2.dts b/target/linux/ramips/dts/GL-MT300N-V2.dts index 61e5fa01e1..b41a9ae669 100644 --- a/target/linux/ramips/dts/GL-MT300N-V2.dts +++ b/target/linux/ramips/dts/GL-MT300N-V2.dts @@ -75,7 +75,6 @@ gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; }; }; - }; &pinctrl { diff --git a/target/linux/ramips/dts/GL-MT300N.dts b/target/linux/ramips/dts/GL-MT300N.dts index 55305d7278..644cfed286 100644 --- a/target/linux/ramips/dts/GL-MT300N.dts +++ b/target/linux/ramips/dts/GL-MT300N.dts @@ -30,7 +30,6 @@ label = "gl-mt300n:wlan"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; }; - }; gpio-keys-polled { diff --git a/target/linux/ramips/dts/GL-MT750.dts b/target/linux/ramips/dts/GL-MT750.dts index 5126360933..7786620cc0 100644 --- a/target/linux/ramips/dts/GL-MT750.dts +++ b/target/linux/ramips/dts/GL-MT750.dts @@ -30,7 +30,6 @@ label = "gl-mt750:wlan"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; }; - }; gpio-keys-polled { @@ -53,7 +52,7 @@ gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; linux,code = ; }; - }; + }; }; &gpio0 { diff --git a/target/linux/ramips/dts/MIR3G.dts b/target/linux/ramips/dts/MIR3G.dts index d9b32c3c49..ab49acfb3e 100644 --- a/target/linux/ramips/dts/MIR3G.dts +++ b/target/linux/ramips/dts/MIR3G.dts @@ -54,7 +54,6 @@ label = "mir3g:amber:lan2"; gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; }; - }; gpio-keys-polled { @@ -76,7 +75,6 @@ gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>; enable-active-high; }; - }; &xhci { diff --git a/target/linux/ramips/dts/NBG-419N2.dts b/target/linux/ramips/dts/NBG-419N2.dts index ee5045e1a4..151da14847 100644 --- a/target/linux/ramips/dts/NBG-419N2.dts +++ b/target/linux/ramips/dts/NBG-419N2.dts @@ -92,7 +92,6 @@ linux,code = ; }; }; - }; &pinctrl { diff --git a/target/linux/ramips/dts/RBM33G.dts b/target/linux/ramips/dts/RBM33G.dts index 7c0d900105..662aad7b36 100644 --- a/target/linux/ramips/dts/RBM33G.dts +++ b/target/linux/ramips/dts/RBM33G.dts @@ -29,7 +29,6 @@ label = "rbm33g:green:usr"; gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; }; - }; gpio-keys-polled { diff --git a/target/linux/ramips/dts/TINY-AC.dts b/target/linux/ramips/dts/TINY-AC.dts index f7361497d9..ed539b1d0e 100644 --- a/target/linux/ramips/dts/TINY-AC.dts +++ b/target/linux/ramips/dts/TINY-AC.dts @@ -25,7 +25,6 @@ label = "tiny-ac:orange:wifi"; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; }; - }; gpio-keys-polled { @@ -37,7 +36,6 @@ gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; linux,code = ; }; - }; gpio_export { diff --git a/target/linux/ramips/dts/Timecloud.dts b/target/linux/ramips/dts/Timecloud.dts index 16f2326f5a..9e5d8e0db3 100644 --- a/target/linux/ramips/dts/Timecloud.dts +++ b/target/linux/ramips/dts/Timecloud.dts @@ -34,7 +34,6 @@ label = "timecloud:orange:status"; gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; }; - }; gpio-keys-polled { diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index 31d930d225..9a2cbbebc9 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -162,7 +162,7 @@ mc: mc@1fbf8000 { compatible = "mtk,mt7621-mc"; reg = <0x1fbf8000 0x8000>; - }; + }; uartlite: uartlite@c00 { compatible = "ns16550a"; diff --git a/target/linux/samsung/dts/TQ210.dts b/target/linux/samsung/dts/TQ210.dts index 86a25574e9..d32e3400f9 100644 --- a/target/linux/samsung/dts/TQ210.dts +++ b/target/linux/samsung/dts/TQ210.dts @@ -15,56 +15,55 @@ #include "s5pv210.dtsi" / { - model = "Embedsky TQ210 based on S5PV210"; - compatible = "embedsky,tq210", "samsung,s5pv210"; + model = "Embedsky TQ210 based on S5PV210"; + compatible = "embedsky,tq210", "samsung,s5pv210"; - chosen { - bootargs = "console=ttySAC0,115200n8"; - }; + chosen { + bootargs = "console=ttySAC0,115200n8"; + }; - memory@20000000 { - device_type = "memory"; - reg = <0x20000000 0x40000000>; - }; + memory@20000000 { + device_type = "memory"; + reg = <0x20000000 0x40000000>; + }; - ethernet@88000000 { - compatible = "davicom,dm9000"; - reg = <0x88000000 0x2 0x88000004 0x2>; - interrupt-parent = <&gph1>; - interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; - local-mac-address = [00 00 de ad be ef]; - davicom,no-eeprom; - clocks = <&clocks CLK_SROMC>; - clock-names = "sromc"; - }; + ethernet@88000000 { + compatible = "davicom,dm9000"; + reg = <0x88000000 0x2 0x88000004 0x2>; + interrupt-parent = <&gph1>; + interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; + local-mac-address = [00 00 de ad be ef]; + davicom,no-eeprom; + clocks = <&clocks CLK_SROMC>; + clock-names = "sromc"; + }; }; &xxti { - clock-frequency = <24000000>; + clock-frequency = <24000000>; }; &uart0 { - status = "okay"; + status = "okay"; }; &nand { - status = "okay"; - nand-ecc-mode = "soft"; + status = "okay"; + nand-ecc-mode = "soft"; - partition@0 { - label = "boot"; - reg = <0x0 0x40000>; /* 246KB */ - read-only; - }; - - partition@40000 { - label = "kernel"; - reg = <0x40000 0x300000>; /* 3MB */ - }; + partition@0 { + label = "boot"; + reg = <0x0 0x40000>; /* 246KB */ + read-only; + }; - partition@340000 { - label = "rootfs"; - reg = <0x340000 0x3fcc0000>; /* 1020MB */ - }; + partition@40000 { + label = "kernel"; + reg = <0x40000 0x300000>; /* 3MB */ + }; + partition@340000 { + label = "rootfs"; + reg = <0x340000 0x3fcc0000>; /* 1020MB */ + }; };