ARM: dts: da850: enable memctrl and mstpri nodes per board
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 24 Nov 2016 09:31:24 +0000 (10:31 +0100)
committerSekhar Nori <nsekhar@ti.com>
Mon, 28 Nov 2016 10:21:29 +0000 (15:51 +0530)
Currently the memory controller and master priorities drivers are
enabled in da850.dtsi. For boards for which there are no settings
defined, this makes these drivers emit error messages.

Disable the nodes in da850.dtsi and only enable them for da850-lcdk -
the only board that currently needs them.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850-lcdk.dts
arch/arm/boot/dts/da850.dtsi

index bd976f286bc7bc3e36b8804a6a958f223d6ec413..afcb4821deb18ffb71356a4a9c03f1e945728426 100644 (file)
                };
        };
 };
+
+&prictrl {
+       status = "okay";
+};
+
+&memctrl {
+       status = "okay";
+};
index 6205917b4f59f9b875cefd77fa0f623bea4c16a3..ffc6e1abd1b7c57982fa6ed92a453fa4c5bff2b0 100644 (file)
                prictrl: priority-controller@14110 {
                        compatible = "ti,da850-mstpri";
                        reg = <0x14110 0x0c>;
+                       status = "disabled";
                };
                cfgchip: chip-controller@1417c {
                        compatible = "ti,da830-cfgchip", "syscon", "simple-mfd";
        memctrl: memory-controller@b0000000 {
                compatible = "ti,da850-ddr-controller";
                reg = <0xb0000000 0xe8>;
+               status = "disabled";
        };
 };