]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
arm64: dts: actions: s900: Add I2C controller nodes
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Wed, 1 Aug 2018 18:02:29 +0000 (23:32 +0530)
committerAndreas Färber <afaerber@suse.de>
Sun, 30 Sep 2018 16:47:13 +0000 (18:47 +0200)
Add I2C controller nodes for Actions Semiconductor S900 SoC.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
[AF: Squashed/added clocks, dropped pinctrl properties for now]
Signed-off-by: Andreas Färber <afaerber@suse.de>
arch/arm64/boot/dts/actions/s900.dtsi

index 83be1ad3fd2a748168778ca183a3842337d98652..d2f6d37f9177c3d5e2ca6b4b651be25126497553 100644 (file)
                        #clock-cells = <1>;
                };
 
+               i2c0: i2c@e0170000 {
+                       compatible = "actions,s900-i2c";
+                       reg = <0 0xe0170000 0 0x1000>;
+                       clocks = <&cmu CLK_I2C0>;
+                       interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2c1: i2c@e0172000 {
+                       compatible = "actions,s900-i2c";
+                       reg = <0 0xe0172000 0 0x1000>;
+                       clocks = <&cmu CLK_I2C1>;
+                       interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2c2: i2c@e0174000 {
+                       compatible = "actions,s900-i2c";
+                       reg = <0 0xe0174000 0 0x1000>;
+                       clocks = <&cmu CLK_I2C2>;
+                       interrupts = <GIC_SPI 27 IRQ_TYPE_LEVEL_HIGH>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2c3: i2c@e0176000 {
+                       compatible = "actions,s900-i2c";
+                       reg = <0 0xe0176000 0 0x1000>;
+                       clocks = <&cmu CLK_I2C3>;
+                       interrupts = <GIC_SPI 28 IRQ_TYPE_LEVEL_HIGH>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2c4: i2c@e0178000 {
+                       compatible = "actions,s900-i2c";
+                       reg = <0 0xe0178000 0 0x1000>;
+                       clocks = <&cmu CLK_I2C4>;
+                       interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
+               i2c5: i2c@e017a000 {
+                       compatible = "actions,s900-i2c";
+                       reg = <0 0xe017a000 0 0x1000>;
+                       clocks = <&cmu CLK_I2C5>;
+                       interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       status = "disabled";
+               };
+
                pinctrl: pinctrl@e01b0000 {
                        compatible = "actions,s900-pinctrl";
                        reg = <0x0 0xe01b0000 0x0 0x1000>;