Commit 81026581 authored by Arnd Bergmann's avatar Arnd Bergmann

Merge tag 'v4.1-next-arm64' of https://github.com/mbgg/linux-mediatek into next/dt

Merge "ARM: mediatek: arm64 updates for v4.2" from Matthias Brugger:

- dts: mt8173: fix style convention for pinctrl node
- dts: mt8173: fix indentation for some nodes

* tag 'v4.1-next-arm64' of https://github.com/mbgg/linux-mediatek:
  arm64: dts: mt8173: fix some indentation
  arm64: dts: mt8173: Fixup pinctrl nodes
parents 63cb275e e881ad1b
...@@ -91,13 +91,13 @@ timer { ...@@ -91,13 +91,13 @@ timer {
compatible = "arm,armv8-timer"; compatible = "arm,armv8-timer";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <GIC_PPI 13 interrupts = <GIC_PPI 13
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 14 <GIC_PPI 14
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 11 <GIC_PPI 11
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>, (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>,
<GIC_PPI 10 <GIC_PPI 10
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>; (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_LOW)>;
}; };
soc { soc {
...@@ -106,14 +106,13 @@ soc { ...@@ -106,14 +106,13 @@ soc {
compatible = "simple-bus"; compatible = "simple-bus";
ranges; ranges;
syscfg_pctl_a: syscfg_pctl_a@10005000 { /*
compatible = "mediatek,mt8173-pctl-a-syscfg", "syscon"; * Pinctrl access register at 0x10005000 through regmap.
reg = <0 0x10005000 0 0x1000>; * Register 0x1000b000 is used by EINT.
}; */
pio: pinctrl@10005000 {
pio: pinctrl@0x10005000 {
compatible = "mediatek,mt8173-pinctrl"; compatible = "mediatek,mt8173-pinctrl";
reg = <0 0x1000B000 0 0x1000>; reg = <0 0x1000b000 0 0x1000>;
mediatek,pctl-regmap = <&syscfg_pctl_a>; mediatek,pctl-regmap = <&syscfg_pctl_a>;
pins-are-numbered; pins-are-numbered;
gpio-controller; gpio-controller;
...@@ -121,13 +120,18 @@ pio: pinctrl@0x10005000 { ...@@ -121,13 +120,18 @@ pio: pinctrl@0x10005000 {
interrupt-controller; interrupt-controller;
#interrupt-cells = <2>; #interrupt-cells = <2>;
interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>, interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>, <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>,
<GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>; <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
};
syscfg_pctl_a: syscfg_pctl_a@10005000 {
compatible = "mediatek,mt8173-pctl-a-syscfg", "syscon";
reg = <0 0x10005000 0 0x1000>;
}; };
sysirq: intpol-controller@10200620 { sysirq: intpol-controller@10200620 {
compatible = "mediatek,mt8173-sysirq", compatible = "mediatek,mt8173-sysirq",
"mediatek,mt6577-sysirq"; "mediatek,mt6577-sysirq";
interrupt-controller; interrupt-controller;
#interrupt-cells = <3>; #interrupt-cells = <3>;
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
...@@ -149,7 +153,7 @@ gic: interrupt-controller@10220000 { ...@@ -149,7 +153,7 @@ gic: interrupt-controller@10220000 {
uart0: serial@11002000 { uart0: serial@11002000 {
compatible = "mediatek,mt8173-uart", compatible = "mediatek,mt8173-uart",
"mediatek,mt6577-uart"; "mediatek,mt6577-uart";
reg = <0 0x11002000 0 0x400>; reg = <0 0x11002000 0 0x400>;
interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>; interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_LOW>;
clocks = <&uart_clk>; clocks = <&uart_clk>;
...@@ -158,7 +162,7 @@ uart0: serial@11002000 { ...@@ -158,7 +162,7 @@ uart0: serial@11002000 {
uart1: serial@11003000 { uart1: serial@11003000 {
compatible = "mediatek,mt8173-uart", compatible = "mediatek,mt8173-uart",
"mediatek,mt6577-uart"; "mediatek,mt6577-uart";
reg = <0 0x11003000 0 0x400>; reg = <0 0x11003000 0 0x400>;
interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>; interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_LOW>;
clocks = <&uart_clk>; clocks = <&uart_clk>;
...@@ -167,7 +171,7 @@ uart1: serial@11003000 { ...@@ -167,7 +171,7 @@ uart1: serial@11003000 {
uart2: serial@11004000 { uart2: serial@11004000 {
compatible = "mediatek,mt8173-uart", compatible = "mediatek,mt8173-uart",
"mediatek,mt6577-uart"; "mediatek,mt6577-uart";
reg = <0 0x11004000 0 0x400>; reg = <0 0x11004000 0 0x400>;
interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>; interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_LOW>;
clocks = <&uart_clk>; clocks = <&uart_clk>;
...@@ -176,13 +180,12 @@ uart2: serial@11004000 { ...@@ -176,13 +180,12 @@ uart2: serial@11004000 {
uart3: serial@11005000 { uart3: serial@11005000 {
compatible = "mediatek,mt8173-uart", compatible = "mediatek,mt8173-uart",
"mediatek,mt6577-uart"; "mediatek,mt6577-uart";
reg = <0 0x11005000 0 0x400>; reg = <0 0x11005000 0 0x400>;
interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_LOW>;
clocks = <&uart_clk>; clocks = <&uart_clk>;
status = "disabled"; status = "disabled";
}; };
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment