arm64: dts: ti: k3-am65-mcu: add system control module node
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 16 Dec 2019 19:39:33 +0000 (21:39 +0200)
committerTero Kristo <t-kristo@ti.com>
Fri, 17 Jan 2020 08:19:51 +0000 (10:19 +0200)
The MCU System control module support is added to the device tree to allow
drivers to access to their System control module registers.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi
arch/arm64/boot/dts/ti/k3-am65.dtsi

index b9d886c..319e821 100644 (file)
@@ -6,6 +6,14 @@
  */
 
 &cbass_mcu {
+       mcu_conf: scm_conf@40f00000 {
+               compatible = "syscon", "simple-mfd";
+               reg = <0x0 0x40f00000 0x0 0x20000>;
+               #address-cells = <1>;
+               #size-cells = <1>;
+               ranges = <0x0 0x0 0x40f00000 0x20000>;
+       };
+
        mcu_uart0: serial@40a00000 {
                compatible = "ti,am654-uart";
                        reg = <0x00 0x40a00000 0x00 0x100>;
index d38720b..aea36e2 100644 (file)
@@ -74,6 +74,7 @@
                         /* MCUSS Range */
                         <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>,
                         <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>,
+                        <0x00 0x40f00000 0x00 0x40f00000 0x00 0x00020000>, /* CTRL_MMR0 */
                         <0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>,
                         <0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>,
                         <0x00 0x41c00000 0x00 0x41c00000 0x00 0x00080000>,
@@ -92,6 +93,7 @@
                        #size-cells = <2>;
                        ranges = <0x00 0x28380000 0x00 0x28380000 0x00 0x03880000>, /* MCU NAVSS*/
                                 <0x00 0x40200000 0x00 0x40200000 0x00 0x00900100>, /* First peripheral window */
+                                <0x00 0x40f00000 0x00 0x40f00000 0x00 0x00020000>, /* CTRL_MMR0 */
                                 <0x00 0x41000000 0x00 0x41000000 0x00 0x00020000>, /* MCU R5F Core0 */
                                 <0x00 0x41400000 0x00 0x41400000 0x00 0x00020000>, /* MCU R5F Core1 */
                                 <0x00 0x41c00000 0x00 0x41c00000 0x00 0x00080000>, /* MCU SRAM */