Skip to contentSkip to conversation

arm64: dts: ti: k3-am65-mcu: add system control module node

PATCH Applied Grygorii Strashko 2 participants 2 messages Dec 16, 2019 – Jan 17, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: ti: k3-am65-mcu: add system control module node

The MCU System control module support is added to the device tree to allow drivers to access to their System control module registers.

---
 arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 8 ++++++++
 arch/arm64/boot/dts/ti/k3-am65.dtsi     | 2 ++
 2 files changed, 10 insertions(+)
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi +8 -0
index 27fc73f94cf9..3f76c2120b95 100644
@@ -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>;
arch/arm64/boot/dts/ti/k3-am65.dtsi +2 -0
index 6dfccd5d56c8..0923e71f663a 100644
@@ -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>,
@@ -88,6 +89,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 */
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 4 lines · Grygorii Strashko

The MCU System control module support is added to the device tree to allow drivers to access to their System control module registers.

Queued up for 5.6, thanks!

-Tero

Quoted 38 lines
---
  arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi | 8 ++++++++
  arch/arm64/boot/dts/ti/k3-am65.dtsi     | 2 ++
  2 files changed, 10 insertions(+)
arch/arm64/boot/dts/ti/k3-am65-mcu.dtsi +8 -0
index 27fc73f94cf9..3f76c2120b95 100644
@@ -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>;
arch/arm64/boot/dts/ti/k3-am65.dtsi +1 -0
index 6dfccd5d56c8..0923e71f663a 100644
@@ -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>,

arch/arm64/boot/dts/ti/k3-am65.dtsi line 95

Quoted 7 lines
arch/arm64/boot/dts/ti/k3-am65.dtsi +1 -0
@@ -88,6 +89,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 */

--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki

_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel