mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
arm64: dts: sun50i-a64: Add i2c2 pins
PinePhone needs I2C2 pins description. Add it, and make it default for i2c2, since it's the only possiblilty. Signed-off-by: Ondrej Jirman <megous@megous.com> Signed-off-by: Maxime Ripard <maxime@cerno.tech>
This commit is contained in:
parent
179a79fd74
commit
29b2c68bf4
@ -671,6 +671,11 @@ i2c1_pins: i2c1-pins {
|
|||||||
function = "i2c1";
|
function = "i2c1";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i2c2_pins: i2c2-pins {
|
||||||
|
pins = "PE14", "PE15";
|
||||||
|
function = "i2c2";
|
||||||
|
};
|
||||||
|
|
||||||
/omit-if-no-ref/
|
/omit-if-no-ref/
|
||||||
lcd_rgb666_pins: lcd-rgb666-pins {
|
lcd_rgb666_pins: lcd-rgb666-pins {
|
||||||
pins = "PD0", "PD1", "PD2", "PD3", "PD4",
|
pins = "PD0", "PD1", "PD2", "PD3", "PD4",
|
||||||
@ -958,12 +963,13 @@ i2c2: i2c@1c2b400 {
|
|||||||
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
||||||
clocks = <&ccu CLK_BUS_I2C2>;
|
clocks = <&ccu CLK_BUS_I2C2>;
|
||||||
resets = <&ccu RST_BUS_I2C2>;
|
resets = <&ccu RST_BUS_I2C2>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&i2c2_pins>;
|
||||||
status = "disabled";
|
status = "disabled";
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <0>;
|
#size-cells = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
spi0: spi@1c68000 {
|
spi0: spi@1c68000 {
|
||||||
compatible = "allwinner,sun8i-h3-spi";
|
compatible = "allwinner,sun8i-h3-spi";
|
||||||
reg = <0x01c68000 0x1000>;
|
reg = <0x01c68000 0x1000>;
|
||||||
|
Loading…
Reference in New Issue
Block a user