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 <dev@kresin.me>
Signed-off-by: Paul Wassi <p.wassi@gmx.at>
v19.07.3_mercusys_ac12_duma
Paul Wassi 6 years ago committed by Mathias Kresin
parent 3601c3de23
commit e348ccc4e6

@ -29,7 +29,6 @@
chosen { chosen {
linux,stdout-path = "/plb/opb/serial@ef600400"; linux,stdout-path = "/plb/opb/serial@ef600400";
}; };
}; };

@ -29,7 +29,6 @@
chosen { chosen {
linux,stdout-path = "/plb/opb/serial@ef600400"; linux,stdout-path = "/plb/opb/serial@ef600400";
}; };
}; };
&CRYPTO { &CRYPTO {

@ -106,7 +106,7 @@
watchdog@fffffd40 { watchdog@fffffd40 {
status = "okay"; status = "okay";
}; };
spi0: spi@fffc8000 { spi0: spi@fffc8000 {
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
@ -124,7 +124,7 @@
reg = <0>; reg = <0>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <1>; #size-cells = <1>;
at91boot@0 { at91boot@0 {
label = "at91boot"; label = "at91boot";
reg = <0x0 0x4000>; reg = <0x0 0x4000>;
@ -167,7 +167,7 @@
}; };
}; };
}; };
usb0: ohci@500000 { usb0: ohci@500000 {
num-ports = <2>; num-ports = <2>;
status = "okay"; status = "okay";

@ -39,7 +39,6 @@
atmel,pins = atmel,pins =
<2 1 0x2 0x0>; /* PC1 periph B */ <2 1 0x2 0x0>; /* PC1 periph B */
}; };
}; };
}; };

@ -48,11 +48,11 @@
spi1: spi@f8008000 { spi1: spi@f8008000 {
status = "okay"; status = "okay";
spidev@0 { spidev@0 {
compatible = "spidev"; compatible = "spidev";
reg = <0>; reg = <0>;
spi-max-frequency = <8000000>; spi-max-frequency = <8000000>;
}; };
}; };
watchdog@fffffe40 { watchdog@fffffe40 {
@ -71,7 +71,6 @@
usb2: ehci@00700000 { usb2: ehci@00700000 {
status = "okay"; status = "okay";
}; };
}; };
gpio_keys { gpio_keys {
@ -93,25 +92,25 @@
}; };
}; };
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
led0 { led0 {
label = "wb50n:blue:led0"; label = "wb50n:blue:led0";
gpios = <&pioA 12 GPIO_ACTIVE_LOW>; gpios = <&pioA 12 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
led1 { led1 {
label = "wb50n:green:led1"; label = "wb50n:green:led1";
gpios = <&pioA 24 GPIO_ACTIVE_LOW>; gpios = <&pioA 24 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
led2 { led2 {
label = "wb50n:red:led2"; label = "wb50n:red:led2";
gpios = <&pioA 26 GPIO_ACTIVE_LOW>; gpios = <&pioA 26 GPIO_ACTIVE_LOW>;
default-state = "off"; default-state = "off";
}; };
}; };
}; };

@ -85,7 +85,6 @@
default-state = "off"; default-state = "off";
linux,default-trigger = "phy1tpt"; linux,default-trigger = "phy1tpt";
}; };
}; };
keys { keys {
@ -125,7 +124,6 @@
phy-mode = "rgmii"; phy-mode = "rgmii";
}; };
}; };
}; };
}; };
@ -181,7 +179,7 @@
}; };
&pll { &pll {
clocks = <&extosc>; clocks = <&extosc>;
}; };
&spi { &spi {
@ -239,7 +237,6 @@
speed = <1000>; speed = <1000>;
full-duplex; full-duplex;
}; };
}; };
&eth1 { &eth1 {
@ -247,5 +244,4 @@
pll-data = <0x11110000 0x00001099 0x00991099>; pll-data = <0x11110000 0x00001099 0x00991099>;
phy-handle = <&phy4>; phy-handle = <&phy4>;
}; };

@ -43,7 +43,6 @@
gpios = <&gpio 12 GPIO_ACTIVE_HIGH>; gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
debounce-interval = <60>; debounce-interval = <60>;
}; };
}; };
leds { leds {

@ -80,7 +80,6 @@
default-state = "off"; default-state = "off";
linux,default-trigger = "phy0tpt"; linux,default-trigger = "phy0tpt";
}; };
}; };
rtl8367 { rtl8367 {

@ -47,7 +47,6 @@
gpio = <&gpio 8 GPIO_ACTIVE_HIGH>; gpio = <&gpio 8 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
}; };
&spi { &spi {

@ -154,7 +154,6 @@
phy-handle = <&swphy0>; phy-handle = <&swphy0>;
mtd-mac-address = <&art 0x0>; mtd-mac-address = <&art 0x0>;
mtd-mac-address-increment = <1>; mtd-mac-address-increment = <1>;
}; };
&eth1 { &eth1 {

@ -74,7 +74,6 @@
default-state = "off"; default-state = "off";
}; };
}; };
}; };
&ref { &ref {

@ -63,7 +63,6 @@
default-state = "off"; default-state = "off";
}; };
}; };
}; };
&ref { &ref {
@ -218,7 +217,6 @@
swconfig,segment = "wan"; swconfig,segment = "wan";
swconfig,portmap = <5 5>; swconfig,portmap = <5 5>;
}; };
}; };
&wmac { &wmac {

@ -96,7 +96,6 @@
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio 22 GPIO_ACTIVE_HIGH>; gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };

@ -45,7 +45,6 @@
output-high; output-high;
line-name = "gpio-latch-bit"; line-name = "gpio-latch-bit";
}; };
}; };
}; };

@ -36,7 +36,6 @@
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
}; };
&pinctrl { &pinctrl {

@ -31,7 +31,7 @@
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -31,7 +31,7 @@
gpios = <&pinctrl 34 1>; gpios = <&pinctrl 34 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -31,7 +31,7 @@
gpios = <&pinctrl 33 0>; gpios = <&pinctrl 33 0>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };
}; };
&hsspi { &hsspi {

@ -25,7 +25,7 @@
gpios = <&pinctrl 32 0>; gpios = <&pinctrl 32 0>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -119,7 +119,7 @@
reg = <0x1fe0000 0x20000>; reg = <0x1fe0000 0x20000>;
}; };
}; };
}; };
&pinctrl { &pinctrl {
pinctrl-names = "default"; pinctrl-names = "default";

@ -13,7 +13,7 @@
stdout-path = "serial0:115200n8"; stdout-path = "serial0:115200n8";
}; };
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;

@ -25,7 +25,7 @@
gpios = <&gpio0 13 1>; gpios = <&gpio0 13 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -25,7 +25,7 @@
gpios = <&gpio0 13 1>; gpios = <&gpio0 13 1>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";

@ -31,7 +31,7 @@
gpios = <&pinctrl 34 0>; gpios = <&pinctrl 34 0>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
}; };
}; };
}; };
&hsspi { &hsspi {

@ -183,7 +183,7 @@
output-low; output-low;
}; };
}; };
led_pins: led_pinmux { led_pins: led_pinmux {
mux { mux {
pins = "gpio0", "gpio1", "gpio3", "gpio5", "gpio58"; pins = "gpio0", "gpio1", "gpio3", "gpio5", "gpio58";
drive-strength = <0x8>; drive-strength = <0x8>;

@ -410,4 +410,3 @@
/delete-node/ &pcie2_pins; /delete-node/ &pcie2_pins;
/delete-node/ &pcie2; /delete-node/ &pcie2;

@ -57,7 +57,7 @@
}; };
soc { soc {
rpm@108000 { rpm@108000 {
pinctrl-0 = <&rpm_pins>; pinctrl-0 = <&rpm_pins>;
pinctrl-names = "default"; pinctrl-names = "default";
}; };
@ -443,7 +443,7 @@
led_pins: led_pins { led_pins: led_pins {
mux { mux {
pins = "gpio7", "gpio8", "gpio9", "gpio22", pins = "gpio7", "gpio8", "gpio9", "gpio22",
"gpio23", "gpio24", "gpio25", "gpio53"; "gpio23", "gpio24", "gpio25", "gpio53";
function = "gpio"; function = "gpio";
drive-strength = <2>; drive-strength = <2>;

@ -18,7 +18,6 @@
led-dsl = &dsl; led-dsl = &dsl;
led-internet = &online_green; led-internet = &online_green;
}; };
}; };
memory@0 { memory@0 {

@ -181,7 +181,7 @@
}; };
}; };
&pci0 { &pci0 {
status = "okay"; status = "okay";
lantiq,external-clock; lantiq,external-clock;
gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>; gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;

@ -93,7 +93,6 @@
phy-mode = "mii"; phy-mode = "mii";
phy-handle = <&phy14>; phy-handle = <&phy14>;
}; };
}; };
mdio@0 { mdio@0 {
@ -111,7 +110,6 @@
reg = <0x14>; reg = <0x14>;
compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22"; compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
}; };
}; };
}; };

@ -28,7 +28,7 @@
pinctrl { pinctrl {
led_pins: led-pins { led_pins: led-pins {
lantiq,pins = "io34", "io35", "io36", "io37", "io38", lantiq,pins = "io34", "io35", "io36", "io37", "io38",
"io39", "io40", "io41"; "io39", "io40", "io41";
lantiq,function = "gpio"; lantiq,function = "gpio";
}; };
@ -100,7 +100,6 @@
gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
}; };
}; };

@ -14,7 +14,7 @@
memory@0 { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x0 0x4000000>; // 64M at 0x0 reg = <0x0 0x4000000>; // 64M at 0x0
}; };
gpio-keys { gpio-keys {
@ -74,7 +74,6 @@
gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
default-state = "off"; default-state = "off";
}; };
}; };
}; };

@ -15,7 +15,7 @@
memory@0 { memory@0 {
device_type = "memory"; device_type = "memory";
reg = <0x0 0x4000000>; // 64M at 0x0 reg = <0x0 0x4000000>; // 64M at 0x0
}; };
gpio-keys { gpio-keys {
@ -31,12 +31,12 @@
/* Place-holder for SIM-Card connector, /* Place-holder for SIM-Card connector,
to list the used GPIOs, no official binding */ to list the used GPIOs, no official binding */
compatible = "gpio-mmc"; compatible = "gpio-mmc";
gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>, gpios = <&gpio0 3 GPIO_ACTIVE_HIGH>,
<&gpio0 3 GPIO_ACTIVE_HIGH>, <&gpio0 3 GPIO_ACTIVE_HIGH>,
<&gpio0 2 GPIO_ACTIVE_HIGH>, <&gpio0 2 GPIO_ACTIVE_HIGH>,
<0>; /* no CS */ <0>; /* no CS */
gpio-names = "di", "do", "clk", "cs"; gpio-names = "di", "do", "clk", "cs";
reset-gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>; reset-gpio = <&gpio3 24 GPIO_ACTIVE_HIGH>;
}; };
pinctrl { pinctrl {

@ -109,7 +109,7 @@
gpios = <&gpio4 1 GPIO_ACTIVE_LOW>; gpios = <&gpio4 1 GPIO_ACTIVE_LOW>;
}; };
}; };
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;

@ -94,7 +94,7 @@
gpios = <&pca9555 6 GPIO_ACTIVE_HIGH>; gpios = <&pca9555 6 GPIO_ACTIVE_HIGH>;
}; };
}; };
gpio-keys-polled { gpio-keys-polled {
compatible = "gpio-keys-polled"; compatible = "gpio-keys-polled";
#address-cells = <1>; #address-cells = <1>;
@ -249,5 +249,5 @@
/* No SATA/AHCI on this board */ /* No SATA/AHCI on this board */
&sata { &sata {
status = "disabled"; status = "disabled";
}; };

@ -121,51 +121,51 @@
/* Spansion S34ML02G2 256MiB, OEM Layout */ /* Spansion S34ML02G2 256MiB, OEM Layout */
partition@0 { partition@0 {
label = "u-boot"; label = "u-boot";
reg = <0x0000000 0x200000>; /* 2MB */ reg = <0x0000000 0x200000>; /* 2MB */
read-only; read-only;
}; };
partition@200000 { partition@200000 {
label = "u_env"; label = "u_env";
reg = <0x200000 0x20000>; /* 128KB */ reg = <0x200000 0x20000>; /* 128KB */
}; };
partition@220000 { partition@220000 {
label = "s_env"; label = "s_env";
reg = <0x220000 0x40000>; /* 256KB */ reg = <0x220000 0x40000>; /* 256KB */
}; };
partition@180000 { partition@180000 {
label = "unused_area"; label = "unused_area";
reg = <0x260000 0x5c0000>; /* 5.75MB */ reg = <0x260000 0x5c0000>; /* 5.75MB */
}; };
partition@7e0000 { partition@7e0000 {
label = "devinfo"; label = "devinfo";
reg = <0x7e0000 0x40000>; /* 256KB */ reg = <0x7e0000 0x40000>; /* 256KB */
read-only; read-only;
}; };
/* kernel1 overlaps with rootfs1 by design */ /* kernel1 overlaps with rootfs1 by design */
partition@900000 { partition@900000 {
label = "kernel1"; label = "kernel1";
reg = <0x900000 0x7b00000>; /* 123MB */ reg = <0x900000 0x7b00000>; /* 123MB */
}; };
partition@c00000 { partition@c00000 {
label = "rootfs1"; label = "rootfs1";
reg = <0xc00000 0x7800000>; /* 120MB */ reg = <0xc00000 0x7800000>; /* 120MB */
}; };
/* kernel2 overlaps with rootfs2 by design */ /* kernel2 overlaps with rootfs2 by design */
partition@8400000 { partition@8400000 {
label = "kernel2"; label = "kernel2";
reg = <0x8400000 0x7b00000>; /* 123MB */ reg = <0x8400000 0x7b00000>; /* 123MB */
}; };
partition@8700000 { partition@8700000 {
label = "rootfs2"; label = "rootfs2";
reg = <0x8700000 0x7800000>; /* 120MB */ reg = <0x8700000 0x7800000>; /* 120MB */
}; };
/* last MB is for the BBT, not writable */ /* last MB is for the BBT, not writable */

@ -64,7 +64,6 @@
gpios = <&gpio1 9 0 &gpio1 10 0>; gpios = <&gpio1 9 0 &gpio1 10 0>;
i2c-gpio,delay-us = <10>; i2c-gpio,delay-us = <10>;
}; };
}; };
&uart0 { &uart0 {

@ -97,7 +97,6 @@
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };
&gpio1 { &gpio1 {

@ -65,7 +65,6 @@
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>; gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>;
}; };
}; };
gpio-leds { gpio-leds {

@ -57,8 +57,6 @@
label = "dwr-118-a2:green:usb"; label = "dwr-118-a2:green:usb";
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
}; };
}; };
gpio_export { gpio_export {
@ -69,8 +67,8 @@
gpio-export,name = "usb"; gpio-export,name = "usb";
gpio-export,output = <1>; gpio-export,output = <1>;
gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>; gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
};
}; };
};
}; };
&gpio1 { &gpio1 {

@ -65,7 +65,6 @@
label = "gb-pc2:green:lan3"; label = "gb-pc2:green:lan3";
gpios = <&gpio0 15 GPIO_ACTIVE_LOW>; gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
}; };
}; };
}; };

@ -35,7 +35,6 @@
label = "gl-mt300a:usb"; label = "gl-mt300a:usb";
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
}; };
}; };
gpio-keys-polled { gpio-keys-polled {
@ -58,7 +57,7 @@
gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>; linux,code = <BTN_1>;
}; };
}; };
}; };
&gpio0 { &gpio0 {

@ -75,7 +75,6 @@
gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
}; };
}; };
}; };
&pinctrl { &pinctrl {

@ -30,7 +30,6 @@
label = "gl-mt300n:wlan"; label = "gl-mt300n:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
}; };
}; };
gpio-keys-polled { gpio-keys-polled {

@ -30,7 +30,6 @@
label = "gl-mt750:wlan"; label = "gl-mt750:wlan";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
}; };
}; };
gpio-keys-polled { gpio-keys-polled {
@ -53,7 +52,7 @@
gpios = <&gpio2 3 GPIO_ACTIVE_LOW>; gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
linux,code = <BTN_1>; linux,code = <BTN_1>;
}; };
}; };
}; };
&gpio0 { &gpio0 {

@ -54,7 +54,6 @@
label = "mir3g:amber:lan2"; label = "mir3g:amber:lan2";
gpios = <&gpio0 16 GPIO_ACTIVE_LOW>; gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
}; };
}; };
gpio-keys-polled { gpio-keys-polled {
@ -76,7 +75,6 @@
gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>; gpio = <&gpio0 12 GPIO_ACTIVE_HIGH>;
enable-active-high; enable-active-high;
}; };
}; };
&xhci { &xhci {

@ -92,7 +92,6 @@
linux,code = <KEY_RFKILL>; linux,code = <KEY_RFKILL>;
}; };
}; };
}; };
&pinctrl { &pinctrl {

@ -29,7 +29,6 @@
label = "rbm33g:green:usr"; label = "rbm33g:green:usr";
gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 0 GPIO_ACTIVE_HIGH>;
}; };
}; };
gpio-keys-polled { gpio-keys-polled {

@ -25,7 +25,6 @@
label = "tiny-ac:orange:wifi"; label = "tiny-ac:orange:wifi";
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
}; };
}; };
gpio-keys-polled { gpio-keys-polled {
@ -37,7 +36,6 @@
gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
linux,code = <KEY_RESTART>; linux,code = <KEY_RESTART>;
}; };
}; };
gpio_export { gpio_export {

@ -34,7 +34,6 @@
label = "timecloud:orange:status"; label = "timecloud:orange:status";
gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>; gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
}; };
}; };
gpio-keys-polled { gpio-keys-polled {

@ -162,7 +162,7 @@
mc: mc@1fbf8000 { mc: mc@1fbf8000 {
compatible = "mtk,mt7621-mc"; compatible = "mtk,mt7621-mc";
reg = <0x1fbf8000 0x8000>; reg = <0x1fbf8000 0x8000>;
}; };
uartlite: uartlite@c00 { uartlite: uartlite@c00 {
compatible = "ns16550a"; compatible = "ns16550a";

@ -15,56 +15,55 @@
#include "s5pv210.dtsi" #include "s5pv210.dtsi"
/ { / {
model = "Embedsky TQ210 based on S5PV210"; model = "Embedsky TQ210 based on S5PV210";
compatible = "embedsky,tq210", "samsung,s5pv210"; compatible = "embedsky,tq210", "samsung,s5pv210";
chosen { chosen {
bootargs = "console=ttySAC0,115200n8"; bootargs = "console=ttySAC0,115200n8";
}; };
memory@20000000 { memory@20000000 {
device_type = "memory"; device_type = "memory";
reg = <0x20000000 0x40000000>; reg = <0x20000000 0x40000000>;
}; };
ethernet@88000000 { ethernet@88000000 {
compatible = "davicom,dm9000"; compatible = "davicom,dm9000";
reg = <0x88000000 0x2 0x88000004 0x2>; reg = <0x88000000 0x2 0x88000004 0x2>;
interrupt-parent = <&gph1>; interrupt-parent = <&gph1>;
interrupts = <2 IRQ_TYPE_LEVEL_HIGH>; interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
local-mac-address = [00 00 de ad be ef]; local-mac-address = [00 00 de ad be ef];
davicom,no-eeprom; davicom,no-eeprom;
clocks = <&clocks CLK_SROMC>; clocks = <&clocks CLK_SROMC>;
clock-names = "sromc"; clock-names = "sromc";
}; };
}; };
&xxti { &xxti {
clock-frequency = <24000000>; clock-frequency = <24000000>;
}; };
&uart0 { &uart0 {
status = "okay"; status = "okay";
}; };
&nand { &nand {
status = "okay"; status = "okay";
nand-ecc-mode = "soft"; nand-ecc-mode = "soft";
partition@0 { partition@0 {
label = "boot"; label = "boot";
reg = <0x0 0x40000>; /* 246KB */ reg = <0x0 0x40000>; /* 246KB */
read-only; read-only;
}; };
partition@40000 {
label = "kernel";
reg = <0x40000 0x300000>; /* 3MB */
};
partition@340000 { partition@40000 {
label = "rootfs"; label = "kernel";
reg = <0x340000 0x3fcc0000>; /* 1020MB */ reg = <0x40000 0x300000>; /* 3MB */
}; };
partition@340000 {
label = "rootfs";
reg = <0x340000 0x3fcc0000>; /* 1020MB */
};
}; };

Loading…
Cancel
Save