diff options
author | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-03-25 14:52:38 +0100 |
---|---|---|
committer | Maxime Ripard <maxime.ripard@bootlin.com> | 2019-03-25 21:26:26 +0100 |
commit | 0c64f75d89cb57eb4b9e956251dd87ee8e080563 (patch) | |
tree | 7a8fdb14c1abcc5b62d39ac2f3feb9c244cc7ea5 /arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | |
parent | 5400cdc1410b25321235d9e52a092a6132168c74 (diff) |
ARM: dts: sunxi: Switch to new GPIOs properties for i2c-gpio
The i2c-gpio driver uses named gpios now and the array of GPIOs is
deprecated. Switch to the new binding.
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Diffstat (limited to 'arch/arm/boot/dts/sun5i-a13-utoo-p66.dts')
-rw-r--r-- | arch/arm/boot/dts/sun5i-a13-utoo-p66.dts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts index 732873cbeedc..379d530ea2a7 100644 --- a/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts +++ b/arch/arm/boot/dts/sun5i-a13-utoo-p66.dts @@ -58,13 +58,13 @@ /delete-property/stdout-path; }; - i2c_lcd: i2c-gpio { + i2c_lcd: i2c { /* The lcd panel i2c interface is hooked up via gpios */ compatible = "i2c-gpio"; pinctrl-names = "default"; pinctrl-0 = <&i2c_lcd_pins>; - gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>, /* PG12, sda */ - <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10, scl */ + sda-gpios = <&pio 6 12 GPIO_ACTIVE_HIGH>; /* PG12 */ + scl-gpios = <&pio 6 10 GPIO_ACTIVE_HIGH>; /* PG10 */ i2c-gpio,delay-us = <5>; }; }; |