mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
arm64: dts: meson-g12a: add i2c DT info [2/2]
PD#156734: arm64: dts: meson-g12a: add i2c DT info Change-Id: I9ff9a61319bbac54722e15c84fa3a19653c481ce Signed-off-by: Jian Hu <jian.hu@amlogic.com>
This commit is contained in:
@@ -22,6 +22,7 @@
|
||||
#include <dt-bindings/gpio/meson-g12a-gpio.h>
|
||||
#include <dt-bindings/pwm/pwm.h>
|
||||
#include <dt-bindings/pwm/meson.h>
|
||||
#include <dt-bindings/i2c/i2c-meson.h>
|
||||
#include <dt-bindings/gpio/gpio.h>
|
||||
#include <dt-bindings/input/input.h>
|
||||
#include <dt-bindings/input/meson_rc.h>
|
||||
@@ -347,6 +348,59 @@
|
||||
"clkin3";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c0: i2c@1f000 {
|
||||
compatible = "amlogic,meson-g12a-i2c";
|
||||
status = "disabled";
|
||||
reg = <0x0 0x1f000 0x0 0x20>;
|
||||
interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
|
||||
<GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&clkc CLKID_I2C>;
|
||||
clock-names = "clk_i2c";
|
||||
dev-id = <MESON_I2C_MASTER0>;
|
||||
};
|
||||
|
||||
i2c1: i2c@1e000 {
|
||||
compatible = "amlogic,meson-g12a-i2c";
|
||||
status = "disabled";
|
||||
reg = <0x0 0x1e000 0x0 0x20>;
|
||||
interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>,
|
||||
<GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&clkc CLKID_I2C>;
|
||||
clock-names = "clk_i2c";
|
||||
dev-id = <MESON_I2C_MASTER1>;
|
||||
};
|
||||
|
||||
i2c2: i2c@1d000 {
|
||||
compatible = "amlogic,meson-g12a-i2c";
|
||||
status = "disabled";
|
||||
reg = <0x0 0x1d000 0x0 0x20>;
|
||||
interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>,
|
||||
<GIC_SPI 49 IRQ_TYPE_EDGE_RISING>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&clkc CLKID_I2C>;
|
||||
clock-names = "clk_i2c";
|
||||
dev-id = <MESON_I2C_MASTER2>;
|
||||
};
|
||||
|
||||
i2c3: i2c@1c000 {
|
||||
compatible = "amlogic,meson-g12a-i2c";
|
||||
status = "disabled";
|
||||
reg = <0x0 0x1c000 0x0 0x20>;
|
||||
interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
|
||||
<GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&clkc CLKID_I2C>;
|
||||
clock-names = "clk_i2c";
|
||||
dev-id = <MESON_I2C_MASTER3>;
|
||||
};
|
||||
|
||||
}; /* end of cbus */
|
||||
|
||||
aobus: aobus@ff800000 {
|
||||
@@ -389,6 +443,19 @@
|
||||
"clkin3";
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
i2c_AO: i2c@5000 {
|
||||
compatible = "amlogic,meson-g12a-i2c";
|
||||
status = "disabled";
|
||||
reg = <0x0 0x05000 0x0 0x20>;
|
||||
interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
clocks = <&clkc CLKID_I2C>;
|
||||
clock-names = "clk_i2c";
|
||||
dev-id = <MESON_I2C_MASTERAO>;
|
||||
};
|
||||
|
||||
};/* end of aobus */
|
||||
|
||||
periphs: periphs@ff634400 {
|
||||
|
||||
Reference in New Issue
Block a user