Commit a77eb442 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Alexandre Belloni

ARM: dts: at91: kizboxmini: Style cleanup

- use tags from included dtsi instead of duplicating the hierarchy

There are no differences in the generated .dtb
Signed-off-by: default avatarUwe Kleine-König <uwe@kleine-koenig.org>
Link: https://lore.kernel.org/r/20190812212757.23432-5-uwe@kleine-koenig.orgSigned-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent fd117bba
...@@ -32,65 +32,72 @@ main_xtal { ...@@ -32,65 +32,72 @@ main_xtal {
}; };
ahb { ahb {
apb { nand0: nand@40000000 {
tcb0: timer@f8008000 { nand-bus-width = <8>;
timer@0 { nand-ecc-mode = "hw";
compatible = "atmel,tcb-timer"; atmel,has-pmecc;
reg = <0>; atmel,pmecc-cap = <4>;
}; atmel,pmecc-sector-size = <512>;
nand-on-flash-bbt;
timer@1 { status = "okay";
compatible = "atmel,tcb-timer";
reg = <1>;
}; };
}; };
usart0: serial@f801c000 { gpio_keys {
status = "okay"; compatible = "gpio-keys";
}; #address-cells = <1>;
#size-cells = <0>;
macb0: ethernet@f802c000 { prog {
phy-mode = "rmii"; label = "PB_PROG";
status = "okay"; gpios = <&pioC 17 GPIO_ACTIVE_LOW>;
linux,code = <0x102>;
wakeup-source;
}; };
pwm0: pwm@f8034000 { reset {
pinctrl-names = "default"; label = "PB_RST";
pinctrl-0 = <&pinctrl_pwm0_pwm0_1 gpios = <&pioC 16 GPIO_ACTIVE_LOW>;
&pinctrl_pwm0_pwm1_1>; linux,code = <0x100>;
status = "okay"; wakeup-source;
}; };
dbgu: serial@fffff200 {
status = "okay";
}; };
watchdog@fffffe40 { pwm_leds {
status = "okay"; compatible = "pwm-leds";
};
green {
label = "pwm:green:user";
pwms = <&pwm0 0 10000000 0>;
max-brightness = <255>;
linux,default-trigger = "default-on";
}; };
usb0: ohci@600000 { red {
num-ports = <1>; label = "pwm:red:user";
status = "okay"; pwms = <&pwm0 1 10000000 0>;
max-brightness = <255>;
linux,default-trigger = "default-on";
};
}; };
};
usb1: ehci@700000 { &dbgu {
status = "okay"; status = "okay";
}; };
ebi: ebi@10000000 { &ebi {
pinctrl-0 = <&pinctrl_ebi_addr_nand pinctrl-0 = <&pinctrl_ebi_addr_nand
&pinctrl_ebi_data_0_7>; &pinctrl_ebi_data_0_7>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay"; status = "okay";
nand_controller: nand-controller { nand-controller {
status = "okay";
pinctrl-0 = <&pinctrl_nand_oe_we pinctrl-0 = <&pinctrl_nand_oe_we
&pinctrl_nand_cs &pinctrl_nand_cs
&pinctrl_nand_rb>; &pinctrl_nand_rb>;
pinctrl-names = "default"; pinctrl-names = "default";
status = "okay";
nand@3 { nand@3 {
reg = <0x3 0x0 0x800000>; reg = <0x3 0x0 0x800000>;
...@@ -120,55 +127,45 @@ ubi@20000 { ...@@ -120,55 +127,45 @@ ubi@20000 {
}; };
}; };
}; };
}; };
nand0: nand@40000000 { &macb0 {
nand-bus-width = <8>; phy-mode = "rmii";
nand-ecc-mode = "hw";
atmel,has-pmecc;
atmel,pmecc-cap = <4>;
atmel,pmecc-sector-size = <512>;
nand-on-flash-bbt;
status = "okay"; status = "okay";
};
}; &pwm0 {
}; pinctrl-names = "default";
pinctrl-0 = <&pinctrl_pwm0_pwm0_1
gpio_keys { &pinctrl_pwm0_pwm1_1>;
compatible = "gpio-keys"; status = "okay";
#address-cells = <1>; };
#size-cells = <0>;
prog { &tcb0 {
label = "PB_PROG"; timer@0 {
gpios = <&pioC 17 GPIO_ACTIVE_LOW>; compatible = "atmel,tcb-timer";
linux,code = <0x102>; reg = <0>;
wakeup-source;
}; };
reset { timer@1 {
label = "PB_RST"; compatible = "atmel,tcb-timer";
gpios = <&pioC 16 GPIO_ACTIVE_LOW>; reg = <1>;
linux,code = <0x100>;
wakeup-source;
};
}; };
};
pwm_leds { &usart0 {
compatible = "pwm-leds"; status = "okay";
};
green { &usb0 {
label = "pwm:green:user"; num-ports = <1>;
pwms = <&pwm0 0 10000000 0>; status = "okay";
max-brightness = <255>; };
linux,default-trigger = "default-on";
};
red { &usb1 {
label = "pwm:red:user"; status = "okay";
pwms = <&pwm0 1 10000000 0>; };
max-brightness = <255>;
linux,default-trigger = "default-on"; &watchdog {
}; status = "okay";
};
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment