On 20 June 2013 11:11, Rahul Sharma <rahul.sha...@samsung.com> wrote: > From: Andrew Bresticker <abres...@chromium.org> > > This adds device-tree nodes for the i2c busses on Exynos > 5420 platforms. > > Signed-off-by: Andrew Bresticker <abres...@chromium.org> > Signed-off-by: Rahul Sharma <rahul.sha...@samsung.com> > --- > arch/arm/boot/dts/exynos5420.dtsi | 56 > +++++++++++++++++++++++++++++++++++++ > 1 file changed, 56 insertions(+) > > diff --git a/arch/arm/boot/dts/exynos5420.dtsi > b/arch/arm/boot/dts/exynos5420.dtsi > index 8c54c4b..b0ec047 100644 > --- a/arch/arm/boot/dts/exynos5420.dtsi > +++ b/arch/arm/boot/dts/exynos5420.dtsi > @@ -24,6 +24,10 @@ > pinctrl2 = &pinctrl_2; > pinctrl3 = &pinctrl_3; > pinctrl4 = &pinctrl_4; > + i2c0 = &i2c_0; > + i2c1 = &i2c_1; > + i2c2 = &i2c_2; > + i2c3 = &i2c_3; > }; > > cpus { > @@ -145,4 +149,56 @@ > clocks = <&clock 260>, <&clock 131>; > clock-names = "uart", "clk_uart_baud0"; > }; > + > + i2c_0: i2c@12C60000 { > + compatible = "samsung,s3c2440-i2c"; > + reg = <0x12C60000 0x100>; > + interrupts = <0 56 0>; > + #address-cells = <1>; > + #size-cells = <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c0_bus>; > + clocks = <&clock 261>; > + clock-names = "i2c"; > + status = "disabled"; > + }; Please move the common properties of exynos5250 and exynos5420 to exynos5.dtsi. > + > + i2c_1: i2c@12C70000 { > + compatible = "samsung,s3c2440-i2c"; > + reg = <0x12C70000 0x100>; > + interrupts = <0 57 0>; > + #address-cells = <1>; > + #size-cells = <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c1_bus>; > + clocks = <&clock 262>; > + clock-names = "i2c"; > + status = "disabled"; > + }; > + > + i2c_2: i2c@12C80000 { > + compatible = "samsung,s3c2440-i2c"; > + reg = <0x12C80000 0x100>; > + interrupts = <0 58 0>; > + #address-cells = <1>; > + #size-cells = <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c2_bus>; > + clocks = <&clock 263>; > + clock-names = "i2c"; > + status = "disabled"; > + }; > + > + i2c_3: i2c@12C90000 { > + compatible = "samsung,s3c2440-i2c"; > + reg = <0x12C90000 0x100>; > + interrupts = <0 59 0>; > + #address-cells = <1>; > + #size-cells = <0>; > + pinctrl-names = "default"; > + pinctrl-0 = <&i2c3_bus>; > + clocks = <&clock 264>; > + clock-names = "i2c"; > + status = "disabled"; > + }; > }; > -- > 1.7.10.4 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" > in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html
-- with warm regards, Chander Kashyap -- To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html