mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-27 11:19:37 +00:00
xtensa: xtfpga: fix i2c controller register width and endianness
I2C controller is attached to XTFPGA boards as native endian device, mark it as such in DTS. Set register width in DTS to 4, this way it works both for little- and big-endian CPUs. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
This commit is contained in:
parent
d99434e176
commit
bce299ca54
1 changed files with 2 additions and 1 deletions
|
@ -89,7 +89,8 @@ i2c0: i2c-master@0d090000 {
|
|||
#size-cells = <0>;
|
||||
reg = <0x0d090000 0x20>;
|
||||
reg-shift = <2>;
|
||||
reg-io-width = <1>;
|
||||
reg-io-width = <4>;
|
||||
native-endian;
|
||||
interrupts = <4 1>;
|
||||
clocks = <&osc>;
|
||||
|
||||
|
|
Loading…
Reference in a new issue