Skip to contentSkip to conversation

dt-bindings: soc: Add MT8183 emi dt-bindings

PATCH New Jjian Zhou 1 participant 1 message Apr 29, 2019

Subsystems (3)
lore
Share & tools
lore

Jjian Zhou

author
#0 lore raw

PATCH 1/1 dt-bindings: soc: Add MT8183 emi dt-bindings

From: Xi Chen <xixi.chen-NuS5LvNUpcJWk0Htik3J/[email protected]>

Add emi dt-bindings of MT8183 in binding document.

Change-Id I73b44ccc851acb393ef94f00b1484d6a040b4b5e
---
 .../bindings/memory-controllers/mediatek,emi.txt   |   19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/memory-controllers/mediatek,emi.txt
Documentation/devicetree/bindings/memory-controllers/mediatek,emi.txt new file +19 -0
new file mode 100644
index 0000000..a19e3b3
@@ -0,0 +1,19 @@
+EMI (External Memory Interface)
+
+Required properties:
+- compatible : must be one of :
+	"mediatek,mt8183-emi"
+- reg : the register and size of the EMI block.
+- interrupts : includes MPU, CGM, ELM.
+
+Example:
+	emi@10219000 {
+	compatible = "mediatek,mt8183-emi";
+	reg = <0 0x10219000 0 0x1000>, /* CEN EMI */
+		  <0 0x10226000 0 0x1000>, /* EMI MPU */
+		  <0 0x1022d000 0 0x1000>, /* CHA EMI */
+		  <0 0x10235000 0 0x1000>; /* CHB EMI */
+	interrupts = <GIC_SPI 147 IRQ_TYPE_LEVEL_LOW>, /* MPU */
+			 <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, /* CGM */
+			 <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; /* ELM */
+};

--
1.7.9.5