[U-Boot] [PATCH 2/3] arm64: zynqmp: Fix address for tca6416_u97 chip on zcu104
Michal Simek
michal.simek at xilinx.com
Tue May 29 13:45:45 UTC 2018
I2c address is not 0x21 but 0x20. This patch is fixing both revA and
revC boards.
Signed-off-by: Michal Simek <michal.simek at xilinx.com>
---
arch/arm/dts/zynqmp-zcu104-revA.dts | 4 ++--
arch/arm/dts/zynqmp-zcu104-revC.dts | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/arm/dts/zynqmp-zcu104-revA.dts b/arch/arm/dts/zynqmp-zcu104-revA.dts
index a0e13d8dc5b0..6a4b701ab812 100644
--- a/arch/arm/dts/zynqmp-zcu104-revA.dts
+++ b/arch/arm/dts/zynqmp-zcu104-revA.dts
@@ -130,9 +130,9 @@
#address-cells = <1>;
#size-cells = <0>;
reg = <4>;
- tca6416_u97: gpio at 21 {
+ tca6416_u97: gpio at 20 {
compatible = "ti,tca6416";
- reg = <0x21>;
+ reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
/*
diff --git a/arch/arm/dts/zynqmp-zcu104-revC.dts b/arch/arm/dts/zynqmp-zcu104-revC.dts
index f3ab99abdc9c..fe742b894b89 100644
--- a/arch/arm/dts/zynqmp-zcu104-revC.dts
+++ b/arch/arm/dts/zynqmp-zcu104-revC.dts
@@ -74,9 +74,9 @@
status = "okay";
clock-frequency = <400000>;
- tca6416_u97: gpio at 21 {
+ tca6416_u97: gpio at 20 {
compatible = "ti,tca6416";
- reg = <0x21>;
+ reg = <0x20>;
gpio-controller;
#gpio-cells = <2>;
/*
--
2.17.0
More information about the U-Boot
mailing list