Commit 888950b0 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

ARM: dts: exynos: Use human-friendly symbols for interrupt properties in exynos5

Replace hard-coded values of type of GIC interrupt and its flags with
respective macros from header to increase code readability.
Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Tested-by: default avatarJavier Martinez Canillas <javier@osg.samsung.com>
parent 74e2c958
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
* published by the Free Software Foundation. * published by the Free Software Foundation.
*/ */
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h> #include <dt-bindings/interrupt-controller/irq.h>
#include "exynos-syscon-restart.dtsi" #include "exynos-syscon-restart.dtsi"
...@@ -96,7 +97,8 @@ gic: interrupt-controller@10481000 { ...@@ -96,7 +97,8 @@ gic: interrupt-controller@10481000 {
<0x10482000 0x1000>, <0x10482000 0x1000>,
<0x10484000 0x2000>, <0x10484000 0x2000>,
<0x10486000 0x2000>; <0x10486000 0x2000>;
interrupts = <1 9 0xf04>; interrupts = <GIC_PPI 9
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
}; };
sysreg_system_controller: syscon@10050000 { sysreg_system_controller: syscon@10050000 {
......
...@@ -195,31 +195,31 @@ pmu { ...@@ -195,31 +195,31 @@ pmu {
pinctrl_0: pinctrl@11400000 { pinctrl_0: pinctrl@11400000 {
compatible = "samsung,exynos5250-pinctrl"; compatible = "samsung,exynos5250-pinctrl";
reg = <0x11400000 0x1000>; reg = <0x11400000 0x1000>;
interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
wakup_eint: wakeup-interrupt-controller { wakup_eint: wakeup-interrupt-controller {
compatible = "samsung,exynos4210-wakeup-eint"; compatible = "samsung,exynos4210-wakeup-eint";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
}; };
}; };
pinctrl_1: pinctrl@13400000 { pinctrl_1: pinctrl@13400000 {
compatible = "samsung,exynos5250-pinctrl"; compatible = "samsung,exynos5250-pinctrl";
reg = <0x13400000 0x1000>; reg = <0x13400000 0x1000>;
interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
}; };
pinctrl_2: pinctrl@10d10000 { pinctrl_2: pinctrl@10d10000 {
compatible = "samsung,exynos5250-pinctrl"; compatible = "samsung,exynos5250-pinctrl";
reg = <0x10d10000 0x1000>; reg = <0x10d10000 0x1000>;
interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
}; };
pinctrl_3: pinctrl@03860000 { pinctrl_3: pinctrl@03860000 {
compatible = "samsung,exynos5250-pinctrl"; compatible = "samsung,exynos5250-pinctrl";
reg = <0x03860000 0x1000>; reg = <0x03860000 0x1000>;
interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
}; };
pmu_system_controller: system-controller@10040000 { pmu_system_controller: system-controller@10040000 {
...@@ -236,7 +236,7 @@ pmu_system_controller: system-controller@10040000 { ...@@ -236,7 +236,7 @@ pmu_system_controller: system-controller@10040000 {
watchdog@101D0000 { watchdog@101D0000 {
compatible = "samsung,exynos5250-wdt"; compatible = "samsung,exynos5250-wdt";
reg = <0x101D0000 0x100>; reg = <0x101D0000 0x100>;
interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_WDT>; clocks = <&clock CLK_WDT>;
clock-names = "watchdog"; clock-names = "watchdog";
samsung,syscon-phandle = <&pmu_system_controller>; samsung,syscon-phandle = <&pmu_system_controller>;
...@@ -245,7 +245,7 @@ watchdog@101D0000 { ...@@ -245,7 +245,7 @@ watchdog@101D0000 {
g2d@10850000 { g2d@10850000 {
compatible = "samsung,exynos5250-g2d"; compatible = "samsung,exynos5250-g2d";
reg = <0x10850000 0x1000>; reg = <0x10850000 0x1000>;
interrupts = <0 91 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_G2D>; clocks = <&clock CLK_G2D>;
clock-names = "fimg2d"; clock-names = "fimg2d";
iommus = <&sysmmu_g2d>; iommus = <&sysmmu_g2d>;
...@@ -254,7 +254,7 @@ g2d@10850000 { ...@@ -254,7 +254,7 @@ g2d@10850000 {
mfc: codec@11000000 { mfc: codec@11000000 {
compatible = "samsung,mfc-v6"; compatible = "samsung,mfc-v6";
reg = <0x11000000 0x10000>; reg = <0x11000000 0x10000>;
interrupts = <0 96 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_mfc>; power-domains = <&pd_mfc>;
clocks = <&clock CLK_MFC>; clocks = <&clock CLK_MFC>;
clock-names = "mfc"; clock-names = "mfc";
...@@ -265,7 +265,7 @@ mfc: codec@11000000 { ...@@ -265,7 +265,7 @@ mfc: codec@11000000 {
rotator: rotator@11C00000 { rotator: rotator@11C00000 {
compatible = "samsung,exynos5250-rotator"; compatible = "samsung,exynos5250-rotator";
reg = <0x11C00000 0x64>; reg = <0x11C00000 0x64>;
interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_ROTATOR>; clocks = <&clock CLK_ROTATOR>;
clock-names = "rotator"; clock-names = "rotator";
iommus = <&sysmmu_rotator>; iommus = <&sysmmu_rotator>;
...@@ -274,7 +274,7 @@ rotator: rotator@11C00000 { ...@@ -274,7 +274,7 @@ rotator: rotator@11C00000 {
tmu: tmu@10060000 { tmu: tmu@10060000 {
compatible = "samsung,exynos5250-tmu"; compatible = "samsung,exynos5250-tmu";
reg = <0x10060000 0x100>; reg = <0x10060000 0x100>;
interrupts = <0 65 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_TMU>; clocks = <&clock CLK_TMU>;
clock-names = "tmu_apbif"; clock-names = "tmu_apbif";
#include "exynos4412-tmu-sensor-conf.dtsi" #include "exynos4412-tmu-sensor-conf.dtsi"
...@@ -284,7 +284,7 @@ sata: sata@122F0000 { ...@@ -284,7 +284,7 @@ sata: sata@122F0000 {
compatible = "snps,dwc-ahci"; compatible = "snps,dwc-ahci";
samsung,sata-freq = <66>; samsung,sata-freq = <66>;
reg = <0x122F0000 0x1ff>; reg = <0x122F0000 0x1ff>;
interrupts = <0 115 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 115 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_SATA>, <&clock CLK_SCLK_SATA>; clocks = <&clock CLK_SATA>, <&clock CLK_SCLK_SATA>;
clock-names = "sata", "sclk_sata"; clock-names = "sata", "sclk_sata";
phys = <&sata_phy>; phys = <&sata_phy>;
...@@ -306,7 +306,7 @@ sata_phy: sata-phy@12170000 { ...@@ -306,7 +306,7 @@ sata_phy: sata-phy@12170000 {
i2c_4: i2c@12CA0000 { i2c_4: i2c@12CA0000 {
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x12CA0000 0x100>; reg = <0x12CA0000 0x100>;
interrupts = <0 60 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock CLK_I2C4>; clocks = <&clock CLK_I2C4>;
...@@ -319,7 +319,7 @@ i2c_4: i2c@12CA0000 { ...@@ -319,7 +319,7 @@ i2c_4: i2c@12CA0000 {
i2c_5: i2c@12CB0000 { i2c_5: i2c@12CB0000 {
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x12CB0000 0x100>; reg = <0x12CB0000 0x100>;
interrupts = <0 61 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock CLK_I2C5>; clocks = <&clock CLK_I2C5>;
...@@ -332,7 +332,7 @@ i2c_5: i2c@12CB0000 { ...@@ -332,7 +332,7 @@ i2c_5: i2c@12CB0000 {
i2c_6: i2c@12CC0000 { i2c_6: i2c@12CC0000 {
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x12CC0000 0x100>; reg = <0x12CC0000 0x100>;
interrupts = <0 62 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock CLK_I2C6>; clocks = <&clock CLK_I2C6>;
...@@ -345,7 +345,7 @@ i2c_6: i2c@12CC0000 { ...@@ -345,7 +345,7 @@ i2c_6: i2c@12CC0000 {
i2c_7: i2c@12CD0000 { i2c_7: i2c@12CD0000 {
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x12CD0000 0x100>; reg = <0x12CD0000 0x100>;
interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock CLK_I2C7>; clocks = <&clock CLK_I2C7>;
...@@ -358,7 +358,7 @@ i2c_7: i2c@12CD0000 { ...@@ -358,7 +358,7 @@ i2c_7: i2c@12CD0000 {
i2c_8: i2c@12CE0000 { i2c_8: i2c@12CE0000 {
compatible = "samsung,s3c2440-hdmiphy-i2c"; compatible = "samsung,s3c2440-hdmiphy-i2c";
reg = <0x12CE0000 0x1000>; reg = <0x12CE0000 0x1000>;
interrupts = <0 64 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock CLK_I2C_HDMI>; clocks = <&clock CLK_I2C_HDMI>;
...@@ -380,7 +380,7 @@ spi_0: spi@12d20000 { ...@@ -380,7 +380,7 @@ spi_0: spi@12d20000 {
compatible = "samsung,exynos4210-spi"; compatible = "samsung,exynos4210-spi";
status = "disabled"; status = "disabled";
reg = <0x12d20000 0x100>; reg = <0x12d20000 0x100>;
interrupts = <0 66 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&pdma0 5 dmas = <&pdma0 5
&pdma0 4>; &pdma0 4>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
...@@ -396,7 +396,7 @@ spi_1: spi@12d30000 { ...@@ -396,7 +396,7 @@ spi_1: spi@12d30000 {
compatible = "samsung,exynos4210-spi"; compatible = "samsung,exynos4210-spi";
status = "disabled"; status = "disabled";
reg = <0x12d30000 0x100>; reg = <0x12d30000 0x100>;
interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&pdma1 5 dmas = <&pdma1 5
&pdma1 4>; &pdma1 4>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
...@@ -412,7 +412,7 @@ spi_2: spi@12d40000 { ...@@ -412,7 +412,7 @@ spi_2: spi@12d40000 {
compatible = "samsung,exynos4210-spi"; compatible = "samsung,exynos4210-spi";
status = "disabled"; status = "disabled";
reg = <0x12d40000 0x100>; reg = <0x12d40000 0x100>;
interrupts = <0 68 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>;
dmas = <&pdma0 7 dmas = <&pdma0 7
&pdma0 6>; &pdma0 6>;
dma-names = "tx", "rx"; dma-names = "tx", "rx";
...@@ -426,7 +426,7 @@ spi_2: spi@12d40000 { ...@@ -426,7 +426,7 @@ spi_2: spi@12d40000 {
mmc_0: mmc@12200000 { mmc_0: mmc@12200000 {
compatible = "samsung,exynos5250-dw-mshc"; compatible = "samsung,exynos5250-dw-mshc";
interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0x12200000 0x1000>; reg = <0x12200000 0x1000>;
...@@ -438,7 +438,7 @@ mmc_0: mmc@12200000 { ...@@ -438,7 +438,7 @@ mmc_0: mmc@12200000 {
mmc_1: mmc@12210000 { mmc_1: mmc@12210000 {
compatible = "samsung,exynos5250-dw-mshc"; compatible = "samsung,exynos5250-dw-mshc";
interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0x12210000 0x1000>; reg = <0x12210000 0x1000>;
...@@ -450,7 +450,7 @@ mmc_1: mmc@12210000 { ...@@ -450,7 +450,7 @@ mmc_1: mmc@12210000 {
mmc_2: mmc@12220000 { mmc_2: mmc@12220000 {
compatible = "samsung,exynos5250-dw-mshc"; compatible = "samsung,exynos5250-dw-mshc";
interrupts = <0 77 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
reg = <0x12220000 0x1000>; reg = <0x12220000 0x1000>;
...@@ -463,7 +463,7 @@ mmc_2: mmc@12220000 { ...@@ -463,7 +463,7 @@ mmc_2: mmc@12220000 {
mmc_3: mmc@12230000 { mmc_3: mmc@12230000 {
compatible = "samsung,exynos5250-dw-mshc"; compatible = "samsung,exynos5250-dw-mshc";
reg = <0x12230000 0x1000>; reg = <0x12230000 0x1000>;
interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock CLK_SDMMC3>, <&clock CLK_SCLK_MMC3>; clocks = <&clock CLK_SDMMC3>, <&clock CLK_SCLK_MMC3>;
...@@ -526,7 +526,7 @@ usb_dwc3 { ...@@ -526,7 +526,7 @@ usb_dwc3 {
usbdrd_dwc3: dwc3@12000000 { usbdrd_dwc3: dwc3@12000000 {
compatible = "synopsys,dwc3"; compatible = "synopsys,dwc3";
reg = <0x12000000 0x10000>; reg = <0x12000000 0x10000>;
interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
phys = <&usbdrd_phy 0>, <&usbdrd_phy 1>; phys = <&usbdrd_phy 0>, <&usbdrd_phy 1>;
phy-names = "usb2-phy", "usb3-phy"; phy-names = "usb2-phy", "usb3-phy";
}; };
...@@ -544,7 +544,7 @@ usbdrd_phy: phy@12100000 { ...@@ -544,7 +544,7 @@ usbdrd_phy: phy@12100000 {
ehci: usb@12110000 { ehci: usb@12110000 {
compatible = "samsung,exynos4210-ehci"; compatible = "samsung,exynos4210-ehci";
reg = <0x12110000 0x100>; reg = <0x12110000 0x100>;
interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_USB2>; clocks = <&clock CLK_USB2>;
clock-names = "usbhost"; clock-names = "usbhost";
...@@ -559,7 +559,7 @@ port@0 { ...@@ -559,7 +559,7 @@ port@0 {
ohci: usb@12120000 { ohci: usb@12120000 {
compatible = "samsung,exynos4210-ohci"; compatible = "samsung,exynos4210-ohci";
reg = <0x12120000 0x100>; reg = <0x12120000 0x100>;
interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_USB2>; clocks = <&clock CLK_USB2>;
clock-names = "usbhost"; clock-names = "usbhost";
...@@ -591,7 +591,7 @@ amba { ...@@ -591,7 +591,7 @@ amba {
pdma0: pdma@121A0000 { pdma0: pdma@121A0000 {
compatible = "arm,pl330", "arm,primecell"; compatible = "arm,pl330", "arm,primecell";
reg = <0x121A0000 0x1000>; reg = <0x121A0000 0x1000>;
interrupts = <0 34 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_PDMA0>; clocks = <&clock CLK_PDMA0>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
#dma-cells = <1>; #dma-cells = <1>;
...@@ -602,7 +602,7 @@ pdma0: pdma@121A0000 { ...@@ -602,7 +602,7 @@ pdma0: pdma@121A0000 {
pdma1: pdma@121B0000 { pdma1: pdma@121B0000 {
compatible = "arm,pl330", "arm,primecell"; compatible = "arm,pl330", "arm,primecell";
reg = <0x121B0000 0x1000>; reg = <0x121B0000 0x1000>;
interrupts = <0 35 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_PDMA1>; clocks = <&clock CLK_PDMA1>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
#dma-cells = <1>; #dma-cells = <1>;
...@@ -613,7 +613,7 @@ pdma1: pdma@121B0000 { ...@@ -613,7 +613,7 @@ pdma1: pdma@121B0000 {
mdma0: mdma@10800000 { mdma0: mdma@10800000 {
compatible = "arm,pl330", "arm,primecell"; compatible = "arm,pl330", "arm,primecell";
reg = <0x10800000 0x1000>; reg = <0x10800000 0x1000>;
interrupts = <0 33 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_MDMA0>; clocks = <&clock CLK_MDMA0>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
#dma-cells = <1>; #dma-cells = <1>;
...@@ -624,7 +624,7 @@ mdma0: mdma@10800000 { ...@@ -624,7 +624,7 @@ mdma0: mdma@10800000 {
mdma1: mdma@11C10000 { mdma1: mdma@11C10000 {
compatible = "arm,pl330", "arm,primecell"; compatible = "arm,pl330", "arm,primecell";
reg = <0x11C10000 0x1000>; reg = <0x11C10000 0x1000>;
interrupts = <0 124 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_MDMA1>; clocks = <&clock CLK_MDMA1>;
clock-names = "apb_pclk"; clock-names = "apb_pclk";
#dma-cells = <1>; #dma-cells = <1>;
...@@ -636,7 +636,7 @@ mdma1: mdma@11C10000 { ...@@ -636,7 +636,7 @@ mdma1: mdma@11C10000 {
gsc_0: gsc@13e00000 { gsc_0: gsc@13e00000 {
compatible = "samsung,exynos5-gsc"; compatible = "samsung,exynos5-gsc";
reg = <0x13e00000 0x1000>; reg = <0x13e00000 0x1000>;
interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_gsc>; power-domains = <&pd_gsc>;
clocks = <&clock CLK_GSCL0>; clocks = <&clock CLK_GSCL0>;
clock-names = "gscl"; clock-names = "gscl";
...@@ -646,7 +646,7 @@ gsc_0: gsc@13e00000 { ...@@ -646,7 +646,7 @@ gsc_0: gsc@13e00000 {
gsc_1: gsc@13e10000 { gsc_1: gsc@13e10000 {
compatible = "samsung,exynos5-gsc"; compatible = "samsung,exynos5-gsc";
reg = <0x13e10000 0x1000>; reg = <0x13e10000 0x1000>;
interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_gsc>; power-domains = <&pd_gsc>;
clocks = <&clock CLK_GSCL1>; clocks = <&clock CLK_GSCL1>;
clock-names = "gscl"; clock-names = "gscl";
...@@ -656,7 +656,7 @@ gsc_1: gsc@13e10000 { ...@@ -656,7 +656,7 @@ gsc_1: gsc@13e10000 {
gsc_2: gsc@13e20000 { gsc_2: gsc@13e20000 {
compatible = "samsung,exynos5-gsc"; compatible = "samsung,exynos5-gsc";
reg = <0x13e20000 0x1000>; reg = <0x13e20000 0x1000>;
interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_gsc>; power-domains = <&pd_gsc>;
clocks = <&clock CLK_GSCL2>; clocks = <&clock CLK_GSCL2>;
clock-names = "gscl"; clock-names = "gscl";
...@@ -666,7 +666,7 @@ gsc_2: gsc@13e20000 { ...@@ -666,7 +666,7 @@ gsc_2: gsc@13e20000 {
gsc_3: gsc@13e30000 { gsc_3: gsc@13e30000 {
compatible = "samsung,exynos5-gsc"; compatible = "samsung,exynos5-gsc";
reg = <0x13e30000 0x1000>; reg = <0x13e30000 0x1000>;
interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
power-domains = <&pd_gsc>; power-domains = <&pd_gsc>;
clocks = <&clock CLK_GSCL3>; clocks = <&clock CLK_GSCL3>;
clock-names = "gscl"; clock-names = "gscl";
...@@ -677,7 +677,7 @@ hdmi: hdmi@14530000 { ...@@ -677,7 +677,7 @@ hdmi: hdmi@14530000 {
compatible = "samsung,exynos4212-hdmi"; compatible = "samsung,exynos4212-hdmi";
reg = <0x14530000 0x70000>; reg = <0x14530000 0x70000>;
power-domains = <&pd_disp1>; power-domains = <&pd_disp1>;
interrupts = <0 95 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_HDMI>, <&clock CLK_SCLK_HDMI>, clocks = <&clock CLK_HDMI>, <&clock CLK_SCLK_HDMI>,
<&clock CLK_SCLK_PIXEL>, <&clock CLK_SCLK_HDMIPHY>, <&clock CLK_SCLK_PIXEL>, <&clock CLK_SCLK_HDMIPHY>,
<&clock CLK_MOUT_HDMI>; <&clock CLK_MOUT_HDMI>;
...@@ -690,7 +690,7 @@ mixer@14450000 { ...@@ -690,7 +690,7 @@ mixer@14450000 {
compatible = "samsung,exynos5250-mixer"; compatible = "samsung,exynos5250-mixer";
reg = <0x14450000 0x10000>; reg = <0x14450000 0x10000>;
power-domains = <&pd_disp1>; power-domains = <&pd_disp1>;
interrupts = <0 94 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_MIXER>, <&clock CLK_HDMI>, clocks = <&clock CLK_MIXER>, <&clock CLK_HDMI>,
<&clock CLK_SCLK_HDMI>; <&clock CLK_SCLK_HDMI>;
clock-names = "mixer", "hdmi", "sclk_hdmi"; clock-names = "mixer", "hdmi", "sclk_hdmi";
...@@ -706,7 +706,7 @@ dp_phy: video-phy { ...@@ -706,7 +706,7 @@ dp_phy: video-phy {
adc: adc@12D10000 { adc: adc@12D10000 {
compatible = "samsung,exynos-adc-v1"; compatible = "samsung,exynos-adc-v1";
reg = <0x12D10000 0x100>; reg = <0x12D10000 0x100>;
interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_ADC>; clocks = <&clock CLK_ADC>;
clock-names = "adc"; clock-names = "adc";
#io-channel-cells = <1>; #io-channel-cells = <1>;
...@@ -718,7 +718,7 @@ adc: adc@12D10000 { ...@@ -718,7 +718,7 @@ adc: adc@12D10000 {
sss@10830000 { sss@10830000 {
compatible = "samsung,exynos4210-secss"; compatible = "samsung,exynos4210-secss";
reg = <0x10830000 0x300>; reg = <0x10830000 0x300>;
interrupts = <0 112 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_SSS>; clocks = <&clock CLK_SSS>;
clock-names = "secss"; clock-names = "secss";
}; };
......
...@@ -121,7 +121,7 @@ tmu_cpu3: tmu@1006c000 { ...@@ -121,7 +121,7 @@ tmu_cpu3: tmu@1006c000 {
mmc_0: mmc@12200000 { mmc_0: mmc@12200000 {
compatible = "samsung,exynos5250-dw-mshc"; compatible = "samsung,exynos5250-dw-mshc";
reg = <0x12200000 0x1000>; reg = <0x12200000 0x1000>;
interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock CLK_MMC0>, <&clock CLK_SCLK_MMC0>; clocks = <&clock CLK_MMC0>, <&clock CLK_SCLK_MMC0>;
...@@ -133,7 +133,7 @@ mmc_0: mmc@12200000 { ...@@ -133,7 +133,7 @@ mmc_0: mmc@12200000 {
mmc_1: mmc@12210000 { mmc_1: mmc@12210000 {
compatible = "samsung,exynos5250-dw-mshc"; compatible = "samsung,exynos5250-dw-mshc";
reg = <0x12210000 0x1000>; reg = <0x12210000 0x1000>;
interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock CLK_MMC1>, <&clock CLK_SCLK_MMC1>; clocks = <&clock CLK_MMC1>, <&clock CLK_SCLK_MMC1>;
...@@ -145,7 +145,7 @@ mmc_1: mmc@12210000 { ...@@ -145,7 +145,7 @@ mmc_1: mmc@12210000 {
mmc_2: mmc@12220000 { mmc_2: mmc@12220000 {
compatible = "samsung,exynos5250-dw-mshc"; compatible = "samsung,exynos5250-dw-mshc";
reg = <0x12220000 0x1000>; reg = <0x12220000 0x1000>;
interrupts = <0 77 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
clocks = <&clock CLK_MMC2>, <&clock CLK_SCLK_MMC2>; clocks = <&clock CLK_MMC2>, <&clock CLK_SCLK_MMC2>;
...@@ -157,31 +157,31 @@ mmc_2: mmc@12220000 { ...@@ -157,31 +157,31 @@ mmc_2: mmc@12220000 {
pinctrl_0: pinctrl@13400000 { pinctrl_0: pinctrl@13400000 {
compatible = "samsung,exynos5410-pinctrl"; compatible = "samsung,exynos5410-pinctrl";
reg = <0x13400000 0x1000>; reg = <0x13400000 0x1000>;
interrupts = <0 45 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
wakeup-interrupt-controller { wakeup-interrupt-controller {
compatible = "samsung,exynos4210-wakeup-eint"; compatible = "samsung,exynos4210-wakeup-eint";
interrupt-parent = <&gic>; interrupt-parent = <&gic>;
interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
}; };
}; };
pinctrl_1: pinctrl@14000000 { pinctrl_1: pinctrl@14000000 {
compatible = "samsung,exynos5410-pinctrl"; compatible = "samsung,exynos5410-pinctrl";
reg = <0x14000000 0x1000>; reg = <0x14000000 0x1000>;
interrupts = <0 46 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>;
}; };
pinctrl_2: pinctrl@10d10000 { pinctrl_2: pinctrl@10d10000 {
compatible = "samsung,exynos5410-pinctrl"; compatible = "samsung,exynos5410-pinctrl";
reg = <0x10d10000 0x1000>; reg = <0x10d10000 0x1000>;
interrupts = <0 50 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>;
}; };
pinctrl_3: pinctrl@03860000 { pinctrl_3: pinctrl@03860000 {
compatible = "samsung,exynos5410-pinctrl"; compatible = "samsung,exynos5410-pinctrl";
reg = <0x03860000 0x1000>; reg = <0x03860000 0x1000>;
interrupts = <0 47 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>;
}; };
}; };
......
...@@ -76,20 +76,20 @@ mct_map: mct-map { ...@@ -76,20 +76,20 @@ mct_map: mct-map {
watchdog: watchdog@101d0000 { watchdog: watchdog@101d0000 {
compatible = "samsung,exynos5420-wdt"; compatible = "samsung,exynos5420-wdt";
reg = <0x101d0000 0x100>; reg = <0x101d0000 0x100>;
interrupts = <0 42 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>;
}; };
sss: sss@10830000 { sss: sss@10830000 {
compatible = "samsung,exynos4210-secss"; compatible = "samsung,exynos4210-secss";
reg = <0x10830000 0x300>; reg = <0x10830000 0x300>;
interrupts = <0 112 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
}; };
/* i2c_0-3 are defined in exynos5.dtsi */ /* i2c_0-3 are defined in exynos5.dtsi */
hsi2c_4: i2c@12ca0000 { hsi2c_4: i2c@12ca0000 {
compatible = "samsung,exynos5250-hsi2c"; compatible = "samsung,exynos5250-hsi2c";
reg = <0x12ca0000 0x1000>; reg = <0x12ca0000 0x1000>;
interrupts = <0 60 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -98,7 +98,7 @@ hsi2c_4: i2c@12ca0000 { ...@@ -98,7 +98,7 @@ hsi2c_4: i2c@12ca0000 {
hsi2c_5: i2c@12cb0000 { hsi2c_5: i2c@12cb0000 {
compatible = "samsung,exynos5250-hsi2c"; compatible = "samsung,exynos5250-hsi2c";
reg = <0x12cb0000 0x1000>; reg = <0x12cb0000 0x1000>;
interrupts = <0 61 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -107,7 +107,7 @@ hsi2c_5: i2c@12cb0000 { ...@@ -107,7 +107,7 @@ hsi2c_5: i2c@12cb0000 {
hsi2c_6: i2c@12cc0000 { hsi2c_6: i2c@12cc0000 {
compatible = "samsung,exynos5250-hsi2c"; compatible = "samsung,exynos5250-hsi2c";
reg = <0x12cc0000 0x1000>; reg = <0x12cc0000 0x1000>;
interrupts = <0 62 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -116,7 +116,7 @@ hsi2c_6: i2c@12cc0000 { ...@@ -116,7 +116,7 @@ hsi2c_6: i2c@12cc0000 {
hsi2c_7: i2c@12cd0000 { hsi2c_7: i2c@12cd0000 {
compatible = "samsung,exynos5250-hsi2c"; compatible = "samsung,exynos5250-hsi2c";
reg = <0x12cd0000 0x1000>; reg = <0x12cd0000 0x1000>;
interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
status = "disabled"; status = "disabled";
...@@ -131,7 +131,7 @@ usbdrd3_0: usb3-0 { ...@@ -131,7 +131,7 @@ usbdrd3_0: usb3-0 {
usbdrd_dwc3_0: dwc3@12000000 { usbdrd_dwc3_0: dwc3@12000000 {
compatible = "snps,dwc3"; compatible = "snps,dwc3";
reg = <0x12000000 0x10000>; reg = <0x12000000 0x10000>;
interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>;
phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>; phys = <&usbdrd_phy0 0>, <&usbdrd_phy0 1>;
phy-names = "usb2-phy", "usb3-phy"; phy-names = "usb2-phy", "usb3-phy";
}; };
...@@ -166,7 +166,7 @@ usbdrd_phy1: phy@12500000 { ...@@ -166,7 +166,7 @@ usbdrd_phy1: phy@12500000 {
usbhost2: usb@12110000 { usbhost2: usb@12110000 {
compatible = "samsung,exynos4210-ehci"; compatible = "samsung,exynos4210-ehci";
reg = <0x12110000 0x100>; reg = <0x12110000 0x100>;
interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
...@@ -179,7 +179,7 @@ port@0 { ...@@ -179,7 +179,7 @@ port@0 {
usbhost1: usb@12120000 { usbhost1: usb@12120000 {
compatible = "samsung,exynos4210-ohci"; compatible = "samsung,exynos4210-ohci";
reg = <0x12120000 0x100>; reg = <0x12120000 0x100>;
interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>;
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
......
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