瀏覽代碼

ARM: dts: da850: enable memctrl and mstpri nodes per board

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>
Bartosz Golaszewski 8 年之前
父節點
當前提交
878e908ad9
共有 2 個文件被更改,包括 10 次插入0 次删除
  1. 8 0
      arch/arm/boot/dts/da850-lcdk.dts
  2. 2 0
      arch/arm/boot/dts/da850.dtsi

+ 8 - 0
arch/arm/boot/dts/da850-lcdk.dts

@@ -228,3 +228,11 @@
 		};
 	};
 };
+
+&prictrl {
+	status = "okay";
+};
+
+&memctrl {
+	status = "okay";
+};

+ 2 - 0
arch/arm/boot/dts/da850.dtsi

@@ -212,6 +212,7 @@
 		prictrl: priority-controller@14110 {
 			compatible = "ti,da850-mstpri";
 			reg = <0x14110 0x0c>;
+			status = "disabled";
 		};
 		cfgchip: chip-controller@1417c {
 			compatible = "ti,da830-cfgchip", "syscon", "simple-mfd";
@@ -467,5 +468,6 @@
 	memctrl: memory-controller@b0000000 {
 		compatible = "ti,da850-ddr-controller";
 		reg = <0xb0000000 0xe8>;
+		status = "disabled";
 	};
 };