Amlogic 64-bit DT updates for v4.18, round 2

- AXG I2C fixups/cleanups
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEEe4dGDhaSf6n1v/EMWTcYmtP7xmUFAlsFpFQACgkQWTcYmtP7
 xmVjEg/+KaBcW6vKpVJRJN9D7wDNg+1yhXomxcZ/3ChorG9af6nhrhZTlMd4TM8D
 hrqlbDMgJvalebaE7LZC+Gzng7XnmsZW8JHhfVxUH5Q/IkbI+eWoXBk2rkOIfbTj
 MFt648fMv/J0OGdywst/8BSCWUD/sGFUmd1wK1fpJCJswCyzRmiAGhVQX5Y6IxCW
 TuxTl46UzDPVXbeRSy7kiekze+zh9/vPwEOPAkk1/J6Uxt8fmgjjtWkEMC5yotNu
 I3IeG3l6u35cQrgBq1+4ejMjBwAt+7giYeHHAYZjqa7J75278PRW+uQpFztZSkIb
 QC9TSxrqjCHNxI26B4q+MA5U1h6Bb1J+O22RSP3Y7A12wsfuq+q7EhXyUx4k1xW+
 pMiAUbb/Wd8VO526fNMn2AaYGi2dPidpsYcEmkZpB6ZNIP7CUFFNnYgRFpzoeYNl
 KEoKQq+gRNRCqYb7TQ3yMRH12aL9F+uuYQmzepmY0WrOKhK8mhCoCpenKmi3vNCU
 toTDpG/TVO/rbD6ItjLKRq5x6q+feR6DA8gsm9hx9Zgyt6//Ov5GajrUp5ZiY0aP
 UH897KxI+xpJfO5ZWE9C0Ml0feMT1udiDDp8YqfWpgOm+WxBZKLJNj10AKhW9aEr
 T1xJsLYxMuGCG8aJiB1XzhyPvrOnHuft/FRIgODYOJ9Jls0OSPE=
 =hJ/9
 -----END PGP SIGNATURE-----

Merge tag 'amlogic-dt64-2' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into next/dt

Amlogic 64-bit DT updates for v4.18, round 2
- AXG I2C fixups/cleanups

* tag 'amlogic-dt64-2' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
  ARM64: dts: meson-axg: enable i2c AO on the S400 board
  ARM64: dts: meson-axg: add i2c AO pins
  ARM64: dts: meson-axg: correct i2c AO clock
  ARM64: dts: meson-axg: clean-up i2c nodes

Signed-off-by: Olof Johansson <olof@lixom.net>
This commit is contained in:
Olof Johansson 2018-05-25 14:49:06 -07:00
commit 4108e98ead
2 changed files with 62 additions and 23 deletions

View File

@ -95,6 +95,12 @@
pinctrl-names = "default";
};
&i2c_AO {
status = "okay";
pinctrl-0 = <&i2c_ao_sck_10_pins>, <&i2c_ao_sda_11_pins>;
pinctrl-names = "default";
};
&pwm_ab {
status = "okay";
pinctrl-0 = <&pwm_a_x20_pins>;

View File

@ -214,50 +214,42 @@
i2c0: i2c@1f000 {
compatible = "amlogic,meson-axg-i2c";
status = "disabled";
reg = <0x0 0x1f000 0x0 0x20>;
interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 47 IRQ_TYPE_EDGE_RISING>;
interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_I2C>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clkc CLKID_I2C>;
clock-names = "clk_i2c";
status = "disabled";
};
i2c1: i2c@1e000 {
compatible = "amlogic,meson-axg-i2c";
reg = <0x0 0x1e000 0x0 0x20>;
interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_I2C>;
#address-cells = <1>;
#size-cells = <0>;
reg = <0x0 0x1e000 0x0 0x20>;
status = "disabled";
interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 48 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_I2C>;
clock-names = "clk_i2c";
};
i2c2: i2c@1d000 {
compatible = "amlogic,meson-axg-i2c";
status = "disabled";
reg = <0x0 0x1d000 0x0 0x20>;
interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 49 IRQ_TYPE_EDGE_RISING>;
interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_I2C>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clkc CLKID_I2C>;
clock-names = "clk_i2c";
status = "disabled";
};
i2c3: i2c@1c000 {
compatible = "amlogic,meson-axg-i2c";
status = "disabled";
reg = <0x0 0x1c000 0x0 0x20>;
interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>,
<GIC_SPI 50 IRQ_TYPE_EDGE_RISING>;
interrupts = <GIC_SPI 39 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_I2C>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clkc CLKID_I2C>;
clock-names = "clk_i2c";
status = "disabled";
};
uart_A: serial@24000 {
@ -1054,6 +1046,48 @@
gpio-ranges = <&pinctrl_aobus 0 0 15>;
};
i2c_ao_sck_4_pins: i2c_ao_sck_4 {
mux {
groups = "i2c_ao_sck_4";
function = "i2c_ao";
};
};
i2c_ao_sck_8_pins: i2c_ao_sck_8 {
mux {
groups = "i2c_ao_sck_8";
function = "i2c_ao";
};
};
i2c_ao_sck_10_pins: i2c_ao_sck_10 {
mux {
groups = "i2c_ao_sck_10";
function = "i2c_ao";
};
};
i2c_ao_sda_5_pins: i2c_ao_sda_5 {
mux {
groups = "i2c_ao_sda_5";
function = "i2c_ao";
};
};
i2c_ao_sda_9_pins: i2c_ao_sda_9 {
mux {
groups = "i2c_ao_sda_9";
function = "i2c_ao";
};
};
i2c_ao_sda_11_pins: i2c_ao_sda_11 {
mux {
groups = "i2c_ao_sda_11";
function = "i2c_ao";
};
};
remote_input_ao_pins: remote_input_ao {
mux {
groups = "remote_input_ao";
@ -1116,13 +1150,12 @@
i2c_AO: i2c@5000 {
compatible = "amlogic,meson-axg-i2c";
status = "disabled";
reg = <0x0 0x05000 0x0 0x20>;
interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
clocks = <&clkc CLKID_AO_I2C>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clkc CLKID_I2C>;
clock-names = "clk_i2c";
status = "disabled";
};
uart_AO: serial@3000 {