[v2,2/3] arm64: dts: mt8183: add emi node
diff mbox series

Message ID 1558670066-22484-3-git-send-email-xixi.chen@mediatek.com
State New
Headers show
Series
  • 8183 emi driver support
Related show

Commit Message

Xi Chen May 24, 2019, 3:54 a.m. UTC
Add emi dts node.

Signed-off-by: Xi Chen <xixi.chen@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt8183.dtsi | 11 +++++++++++
 1 file changed, 11 insertions(+)

Comments

Matthias Brugger June 18, 2019, 9:32 p.m. UTC | #1
On 24/05/2019 05:54, Xi Chen wrote:
> Add emi dts node.
> 
> Signed-off-by: Xi Chen <xixi.chen@mediatek.com>
> ---
>  arch/arm64/boot/dts/mediatek/mt8183.dtsi | 11 +++++++++++
>  1 file changed, 11 insertions(+)
> 
> diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> index 75c4881..2a176e9 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> @@ -269,6 +269,17 @@
>  			clock-names = "spi", "wrap";
>  		};
>  
> +		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 */

indentation seems borken here.

> +		};
> +
>  		uart0: serial@11002000 {
>  			compatible = "mediatek,mt8183-uart",
>  				     "mediatek,mt6577-uart";
>
Xi Chen July 11, 2019, 6:38 a.m. UTC | #2
On Tue, 2019-06-18 at 23:32 +0200, Matthias Brugger wrote:
> 
> On 24/05/2019 05:54, Xi Chen wrote:
> > Add emi dts node.
> > 
> > Signed-off-by: Xi Chen <xixi.chen@mediatek.com>
> > ---
> >  arch/arm64/boot/dts/mediatek/mt8183.dtsi | 11 +++++++++++
> >  1 file changed, 11 insertions(+)
> > 
> > diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> > index 75c4881..2a176e9 100644
> > --- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> > +++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
> > @@ -269,6 +269,17 @@
> >  			clock-names = "spi", "wrap";
> >  		};
> >  
> > +		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 */
> 
> indentation seems borken here.
	sorry, broken some blanks.
> 
> > +		};
> > +
> >  		uart0: serial@11002000 {
> >  			compatible = "mediatek,mt8183-uart",
> >  				     "mediatek,mt6577-uart";
> > 
> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek

Patch
diff mbox series

diff --git a/arch/arm64/boot/dts/mediatek/mt8183.dtsi b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
index 75c4881..2a176e9 100644
--- a/arch/arm64/boot/dts/mediatek/mt8183.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8183.dtsi
@@ -269,6 +269,17 @@ 
 			clock-names = "spi", "wrap";
 		};
 
+		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 */
+		};
+
 		uart0: serial@11002000 {
 			compatible = "mediatek,mt8183-uart",
 				     "mediatek,mt6577-uart";