arm: dts: exynos4: fix the device-tree compile warning

After updating dtc-1.4.5 version, there are too many warning.
This patch is to fix about exynos4 series.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
This commit is contained in:
Jaehoon Chung 2017-11-28 16:20:39 +09:00 committed by Minkyu Kang
parent 9da7fb4a39
commit d8b385b708
6 changed files with 559 additions and 548 deletions

View File

@ -28,31 +28,39 @@
reg = <0x10440000 0x1000>; reg = <0x10440000 0x1000>;
}; };
serial@13800000 { gic: interrupt-controller@10490000 {
compatible = "arm,cortex-a9-gic";
#interrupt-cells = <3>;
interrupt-controller;
cpu-offset = <0x4000>;
reg = <0x10490000 0x10000>, <0x10480000 0x10000>;
};
serial_0: serial@13800000 {
compatible = "samsung,exynos4210-uart"; compatible = "samsung,exynos4210-uart";
reg = <0x13800000 0x3c>; reg = <0x13800000 0x3c>;
id = <0>; id = <0>;
}; };
serial@13810000 { serail_1: serial@13810000 {
compatible = "samsung,exynos4210-uart"; compatible = "samsung,exynos4210-uart";
reg = <0x13810000 0x3c>; reg = <0x13810000 0x3c>;
id = <1>; id = <1>;
}; };
serial@13820000 { serial_2: serial@13820000 {
compatible = "samsung,exynos4210-uart"; compatible = "samsung,exynos4210-uart";
reg = <0x13820000 0x3c>; reg = <0x13820000 0x3c>;
id = <2>; id = <2>;
}; };
serial@13830000 { serial_3: serial@13830000 {
compatible = "samsung,exynos4210-uart"; compatible = "samsung,exynos4210-uart";
reg = <0x13830000 0x3c>; reg = <0x13830000 0x3c>;
id = <3>; id = <3>;
}; };
serial@13840000 { serial_4: serial@13840000 {
compatible = "samsung,exynos4210-uart"; compatible = "samsung,exynos4210-uart";
reg = <0x13840000 0x3c>; reg = <0x13840000 0x3c>;
id = <4>; id = <4>;
@ -63,6 +71,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x13860000 0x100>; reg = <0x13860000 0x100>;
interrupt-parent = <&gic>;
interrupts = <0 56 0>; interrupts = <0 56 0>;
}; };
@ -71,6 +80,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x13870000 0x100>; reg = <0x13870000 0x100>;
interrupt-parent = <&gic>;
interrupts = <1 57 0>; interrupts = <1 57 0>;
}; };
@ -79,6 +89,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x13880000 0x100>; reg = <0x13880000 0x100>;
interrupt-parent = <&gic>;
interrupts = <2 58 0>; interrupts = <2 58 0>;
}; };
@ -87,6 +98,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x13890000 0x100>; reg = <0x13890000 0x100>;
interrupt-parent = <&gic>;
interrupts = <3 59 0>; interrupts = <3 59 0>;
}; };
@ -95,6 +107,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x138a0000 0x100>; reg = <0x138a0000 0x100>;
interrupt-parent = <&gic>;
interrupts = <4 60 0>; interrupts = <4 60 0>;
}; };
@ -103,6 +116,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x138b0000 0x100>; reg = <0x138b0000 0x100>;
interrupt-parent = <&gic>;
interrupts = <5 61 0>; interrupts = <5 61 0>;
}; };
@ -111,6 +125,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x138c0000 0x100>; reg = <0x138c0000 0x100>;
interrupt-parent = <&gic>;
interrupts = <6 62 0>; interrupts = <6 62 0>;
}; };
@ -119,6 +134,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,s3c2440-i2c"; compatible = "samsung,s3c2440-i2c";
reg = <0x138d0000 0x100>; reg = <0x138d0000 0x100>;
interrupt-parent = <&gic>;
interrupts = <7 63 0>; interrupts = <7 63 0>;
}; };
@ -127,6 +143,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,exynos4412-sdhci"; compatible = "samsung,exynos4412-sdhci";
reg = <0x12510000 0x1000>; reg = <0x12510000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 75 0>; interrupts = <0 75 0>;
status = "disabled"; status = "disabled";
}; };
@ -136,6 +153,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,exynos4412-sdhci"; compatible = "samsung,exynos4412-sdhci";
reg = <0x12520000 0x1000>; reg = <0x12520000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 76 0>; interrupts = <0 76 0>;
status = "disabled"; status = "disabled";
}; };
@ -145,6 +163,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,exynos4412-sdhci"; compatible = "samsung,exynos4412-sdhci";
reg = <0x12530000 0x1000>; reg = <0x12530000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 77 0>; interrupts = <0 77 0>;
status = "disabled"; status = "disabled";
}; };
@ -154,6 +173,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,exynos4412-sdhci"; compatible = "samsung,exynos4412-sdhci";
reg = <0x12540000 0x1000>; reg = <0x12540000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 78 0>; interrupts = <0 78 0>;
status = "disabled"; status = "disabled";
}; };
@ -163,6 +183,7 @@
#size-cells = <0>; #size-cells = <0>;
compatible = "samsung,exynos4412-dw-mshc"; compatible = "samsung,exynos4412-dw-mshc";
reg = <0x12550000 0x1000>; reg = <0x12550000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 131 0>; interrupts = <0 131 0>;
status = "disabled"; status = "disabled";
}; };

View File

@ -41,14 +41,6 @@
cpu-offset = <0x8000>; cpu-offset = <0x8000>;
}; };
combiner: interrupt-controller@10440000 {
samsung,combiner-nr = <16>;
interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
<0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
<0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
<0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
};
mct@10050000 { mct@10050000 {
compatible = "samsung,exynos4210-mct"; compatible = "samsung,exynos4210-mct";
reg = <0x10050000 0x800>; reg = <0x10050000 0x800>;
@ -85,12 +77,14 @@
pinctrl_0: pinctrl@11400000 { pinctrl_0: pinctrl@11400000 {
compatible = "samsung,exynos4210-pinctrl"; compatible = "samsung,exynos4210-pinctrl";
reg = <0x11400000 0x1000>; reg = <0x11400000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 47 0>; interrupts = <0 47 0>;
}; };
pinctrl_1: pinctrl@11000000 { pinctrl_1: pinctrl@11000000 {
compatible = "samsung,exynos4210-pinctrl"; compatible = "samsung,exynos4210-pinctrl";
reg = <0x11000000 0x1000>; reg = <0x11000000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 46 0>; interrupts = <0 46 0>;
wakup_eint: wakeup-interrupt-controller { wakup_eint: wakeup-interrupt-controller {
@ -118,6 +112,7 @@
g2d@12800000 { g2d@12800000 {
compatible = "samsung,s5pv210-g2d"; compatible = "samsung,s5pv210-g2d";
reg = <0x12800000 0x1000>; reg = <0x12800000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 89 0>; interrupts = <0 89 0>;
clocks = <&clock 177>, <&clock 277>; clocks = <&clock 177>, <&clock 277>;
clock-names = "sclk_fimg2d", "fimg2d"; clock-names = "sclk_fimg2d", "fimg2d";
@ -154,3 +149,12 @@
}; };
}; };
}; };
&combiner {
samsung,combiner-nr = <16>;
interrupt-parent = <&gic>;
interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
<0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
<0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
<0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>;
};

View File

@ -15,28 +15,42 @@
compatible = "samsung,odroid", "samsung,exynos4412"; compatible = "samsung,odroid", "samsung,exynos4412";
aliases { aliases {
i2c0 = "/i2c@13860000";
i2c1 = "/i2c@13870000";
i2c2 = "/i2c@13880000";
i2c3 = "/i2c@13890000";
i2c4 = "/i2c@138a0000";
i2c5 = "/i2c@138b0000";
i2c6 = "/i2c@138c0000";
i2c7 = "/i2c@138d0000";
serial0 = "/serial@13800000"; serial0 = "/serial@13800000";
console = "/serial@13810000"; console = "/serial@13810000";
mmc0 = &mshc_0; mmc0 = &mshc_0;
mmc1 = &sdhci2; mmc1 = &sdhci2;
}; };
i2c@13860000 { serial@13810000 {
status = "okay";
};
ehci@12580000 {
compatible = "samsung,exynos-ehci";
reg = <0x12580000 0x100>;
#address-cells = <1>;
#size-cells = <1>;
phy {
compatible = "samsung,exynos-usb-phy";
reg = <0x125B0000 0x100>;
};
};
emmc-reset {
compatible = "samsung,emmc-reset";
reset-gpio = <&gpk1 2 0>;
};
};
&i2c_0 {
samsung,i2c-sda-delay = <100>; samsung,i2c-sda-delay = <100>;
samsung,i2c-slave-addr = <0x10>; samsung,i2c-slave-addr = <0x10>;
samsung,i2c-max-bus-freq = <100000>; samsung,i2c-max-bus-freq = <100000>;
status = "okay"; status = "okay";
max77686_pmic@09 { max77686: max77686_pmic@09 {
compatible = "maxim,max77686"; compatible = "maxim,max77686";
interrupt-parent = <&gpx3>;
interrupts = <7 0>; interrupts = <7 0>;
reg = <0x09 0 0>; reg = <0x09 0 0>;
#clock-cells = <1>; #clock-cells = <1>;
@ -218,27 +232,6 @@
}; };
}; };
}; };
};
serial@13810000 {
status = "okay";
};
ehci@12580000 {
compatible = "samsung,exynos-ehci";
reg = <0x12580000 0x100>;
#address-cells = <1>;
#size-cells = <1>;
phy {
compatible = "samsung,exynos-usb-phy";
reg = <0x125B0000 0x100>;
};
};
emmc-reset {
compatible = "samsung,emmc-reset";
reset-gpio = <&gpk1 2 0>;
};
}; };
&sdhci2 { &sdhci2 {

View File

@ -19,14 +19,6 @@
}; };
aliases { aliases {
i2c0 = "/i2c@13860000";
i2c1 = "/i2c@13870000";
i2c2 = "/i2c@13880000";
i2c3 = "/i2c@13890000";
i2c4 = "/i2c@138a0000";
i2c5 = "/i2c@138b0000";
i2c6 = "/i2c@138c0000";
i2c7 = "/i2c@138d0000";
i2c8 = &i2c_fg; i2c8 = &i2c_fg;
i2c9 = &i2c_max77693; i2c9 = &i2c_max77693;
serial0 = "/serial@13800000"; serial0 = "/serial@13800000";
@ -51,14 +43,88 @@
status = "okay"; status = "okay";
}; };
i2c@138d0000 { fimd@11c00000 {
compatible = "samsung,exynos-fimd";
reg = <0x11c00000 0xa4>;
samsung,vl-freq = <60>;
samsung,vl-col = <720>;
samsung,vl-row = <1280>;
samsung,vl-width = <720>;
samsung,vl-height = <1280>;
samsung,vl-clkp = <0>;
samsung,vl-oep = <0>;
samsung,vl-hsp = <1>;
samsung,vl-vsp = <1>;
samsung,vl-dp = <1>;
samsung,vl-bpix = <4>;
samsung,vl-hspw = <5>;
samsung,vl-hbpd = <10>;
samsung,vl-hfpd = <10>;
samsung,vl-vspw = <2>;
samsung,vl-vbpd = <1>;
samsung,vl-vfpd = <13>;
samsung,vl-cmd-allow-len = <0xf>;
samsung,winid = <0>;
samsung,power-on-delay = <30>;
samsung,interface-mode = <1>;
samsung,mipi-enabled = <1>;
samsung,dp-enabled;
samsung,dual-lcd-enabled;
samsung,logo-on = <1>;
samsung,resolution = <0>;
samsung,rgb-mode = <0>;
};
mipidsi@11c80000 {
compatible = "samsung,exynos-mipi-dsi";
reg = <0x11c80000 0x5c>;
samsung,dsim-config-e-interface = <1>;
samsung,dsim-config-e-virtual-ch = <0>;
samsung,dsim-config-e-pixel-format = <7>;
samsung,dsim-config-e-burst-mode = <1>;
samsung,dsim-config-e-no-data-lane = <3>;
samsung,dsim-config-e-byte-clk = <0>;
samsung,dsim-config-hfp = <1>;
samsung,dsim-config-p = <3>;
samsung,dsim-config-m = <120>;
samsung,dsim-config-s = <1>;
samsung,dsim-config-pll-stable-time = <500>;
samsung,dsim-config-esc-clk = <20000000>;
samsung,dsim-config-stop-holding-cnt = <0x7ff>;
samsung,dsim-config-bta-timeout = <0xff>;
samsung,dsim-config-rx-timeout = <0xffff>;
samsung,dsim-device-id = <0xffffffff>;
samsung,dsim-device-bus-id = <0>;
samsung,dsim-device-reverse-panel = <1>;
};
sdhci@12510000 {
samsung,bus-width = <8>;
samsung,timing = <1 3 3>;
pwr-gpios = <&gpk0 4 0>;
status = "disabled";
};
};
&i2c_7 {
samsung,i2c-sda-delay = <100>; samsung,i2c-sda-delay = <100>;
samsung,i2c-slave-addr = <0x10>; samsung,i2c-slave-addr = <0x10>;
samsung,i2c-max-bus-freq = <100000>; samsung,i2c-max-bus-freq = <100000>;
status = "okay"; status = "okay";
max77686_pmic@09 { max77686: max77686_pmic@09 {
compatible = "maxim,max77686"; compatible = "maxim,max77686";
interrupt-parent = <&gpx0>;
interrupts = <7 0>; interrupts = <7 0>;
reg = <0x09 0 0>; reg = <0x09 0 0>;
#clock-cells = <1>; #clock-cells = <1>;
@ -363,79 +429,6 @@
}; };
}; };
}; };
};
fimd@11c00000 {
compatible = "samsung,exynos-fimd";
reg = <0x11c00000 0xa4>;
samsung,vl-freq = <60>;
samsung,vl-col = <720>;
samsung,vl-row = <1280>;
samsung,vl-width = <720>;
samsung,vl-height = <1280>;
samsung,vl-clkp = <0>;
samsung,vl-oep = <0>;
samsung,vl-hsp = <1>;
samsung,vl-vsp = <1>;
samsung,vl-dp = <1>;
samsung,vl-bpix = <4>;
samsung,vl-hspw = <5>;
samsung,vl-hbpd = <10>;
samsung,vl-hfpd = <10>;
samsung,vl-vspw = <2>;
samsung,vl-vbpd = <1>;
samsung,vl-vfpd = <13>;
samsung,vl-cmd-allow-len = <0xf>;
samsung,winid = <0>;
samsung,power-on-delay = <30>;
samsung,interface-mode = <1>;
samsung,mipi-enabled = <1>;
samsung,dp-enabled;
samsung,dual-lcd-enabled;
samsung,logo-on = <1>;
samsung,resolution = <0>;
samsung,rgb-mode = <0>;
};
mipidsi@11c80000 {
compatible = "samsung,exynos-mipi-dsi";
reg = <0x11c80000 0x5c>;
samsung,dsim-config-e-interface = <1>;
samsung,dsim-config-e-virtual-ch = <0>;
samsung,dsim-config-e-pixel-format = <7>;
samsung,dsim-config-e-burst-mode = <1>;
samsung,dsim-config-e-no-data-lane = <3>;
samsung,dsim-config-e-byte-clk = <0>;
samsung,dsim-config-hfp = <1>;
samsung,dsim-config-p = <3>;
samsung,dsim-config-m = <120>;
samsung,dsim-config-s = <1>;
samsung,dsim-config-pll-stable-time = <500>;
samsung,dsim-config-esc-clk = <20000000>;
samsung,dsim-config-stop-holding-cnt = <0x7ff>;
samsung,dsim-config-bta-timeout = <0xff>;
samsung,dsim-config-rx-timeout = <0xffff>;
samsung,dsim-device-id = <0xffffffff>;
samsung,dsim-device-bus-id = <0>;
samsung,dsim-device-reverse-panel = <1>;
};
sdhci@12510000 {
samsung,bus-width = <8>;
samsung,timing = <1 3 3>;
pwr-gpios = <&gpk0 4 0>;
status = "disabled";
};
}; };
&sdhci0 { &sdhci0 {

View File

@ -21,18 +21,14 @@
/ { / {
compatible = "samsung,exynos4412"; compatible = "samsung,exynos4412";
};
gic: interrupt-controller@10490000 { &combiner {
cpu-offset = <0x4000>;
};
interrupt-controller@10440000 {
samsung,combiner-nr = <20>; samsung,combiner-nr = <20>;
interrupt-parent = <&gic>;
interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>, interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
<0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>, <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
<0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>, <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
<0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>, <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>,
<0 107 0>, <0 108 0>, <0 48 0>, <0 42 0>; <0 107 0>, <0 108 0>, <0 48 0>, <0 42 0>;
};
}; };

View File

@ -63,12 +63,14 @@
pinctrl_0: pinctrl@11400000 { pinctrl_0: pinctrl@11400000 {
compatible = "samsung,exynos4x12-pinctrl"; compatible = "samsung,exynos4x12-pinctrl";
reg = <0x11400000 0x1000>; reg = <0x11400000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 47 0>; interrupts = <0 47 0>;
}; };
pinctrl_1: pinctrl@11000000 { pinctrl_1: pinctrl@11000000 {
compatible = "samsung,exynos4x12-pinctrl"; compatible = "samsung,exynos4x12-pinctrl";
reg = <0x11000000 0x1000>; reg = <0x11000000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 46 0>; interrupts = <0 46 0>;
wakup_eint: wakeup-interrupt-controller { wakup_eint: wakeup-interrupt-controller {
@ -88,12 +90,14 @@
pinctrl_3: pinctrl@106E0000 { pinctrl_3: pinctrl@106E0000 {
compatible = "samsung,exynos4x12-pinctrl"; compatible = "samsung,exynos4x12-pinctrl";
reg = <0x106E0000 0x1000>; reg = <0x106E0000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 72 0>; interrupts = <0 72 0>;
}; };
g2d@10800000 { g2d@10800000 {
compatible = "samsung,exynos4212-g2d"; compatible = "samsung,exynos4212-g2d";
reg = <0x10800000 0x1000>; reg = <0x10800000 0x1000>;
interrupt-parent = <&gic>;
interrupts = <0 89 0>; interrupts = <0 89 0>;
clocks = <&clock 177>, <&clock 277>; clocks = <&clock 177>, <&clock 277>;
clock-names = "sclk_fimg2d", "fimg2d"; clock-names = "sclk_fimg2d", "fimg2d";