Skip to content

Commit

Permalink
ipq806x: simplify ecw5410 dts
Browse files Browse the repository at this point in the history
Simplify ecw5410 dts instead of redefine nodes.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
  • Loading branch information
Ansuel authored and ynezz committed May 7, 2021
1 parent e3daef3 commit d079c8f
Showing 1 changed file with 25 additions and 25 deletions.
Expand Up @@ -258,40 +258,40 @@
};
};

&soc {
nand@1ac00000 {
status = "okay";
&nand_controller {
status = "okay";

pinctrl-0 = <&nand_pins>;
pinctrl-names = "default";
pinctrl-0 = <&nand_pins>;
pinctrl-names = "default";

nand@0 {
compatible = "qcom,nandcs";
nand@0 {
compatible = "qcom,nandcs";

reg = <0>;
reg = <0>;

nand-ecc-strength = <4>;
nand-bus-width = <8>;
nand-ecc-step-size = <512>;
nand-ecc-strength = <4>;
nand-bus-width = <8>;
nand-ecc-step-size = <512>;

partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

rootfs1@0 {
label = "rootfs1";
reg = <0x0000000 0x4000000>;
};

rootfs2@4000000 {
label = "rootfs2";
reg = <0x4000000 0x4000000>;
};
partitions {
compatible = "fixed-partitions";
#address-cells = <1>;
#size-cells = <1>;

rootfs1@0 {
label = "rootfs1";
reg = <0x0000000 0x4000000>;
};

rootfs2@4000000 {
label = "rootfs2";
reg = <0x4000000 0x4000000>;
};
};
};
};

&soc {
mdio1: mdio {
compatible = "virtual,mdio-gpio";
#address-cells = <1>;
Expand Down

0 comments on commit d079c8f

Please sign in to comment.