mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-06 06:21:31 +00:00
ARM: Kirkwood: topkick: Enable i2c bus.
Add a DT node for I2C and pinctrl hog for the pins. There appears to be an i2c bus on topkick with a device on it: i2cdetect 0 WARNING! This program can confuse your I2C bus, cause data loss and worse! I will probe file /dev/i2c-0. I will probe address range 0x03-0x77. Continue? [Y/n] y 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- 64 -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- -- Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
parent
15989543d4
commit
44d032e794
1 changed files with 6 additions and 1 deletions
|
@ -52,7 +52,8 @@
|
||||||
&pmx_sw_left2
|
&pmx_sw_left2
|
||||||
&pmx_led_wifi_yellow
|
&pmx_led_wifi_yellow
|
||||||
&pmx_uart0
|
&pmx_uart0
|
||||||
&pmx_nand >;
|
&pmx_nand
|
||||||
|
&pmx_twsi0 >;
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
||||||
pmx_led_disk_yellow: pmx-led-disk-yellow {
|
pmx_led_disk_yellow: pmx-led-disk-yellow {
|
||||||
|
@ -144,6 +145,10 @@
|
||||||
status = "okay";
|
status = "okay";
|
||||||
nr-ports = <1>;
|
nr-ports = <1>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
i2c@11000 {
|
||||||
|
status = "ok";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
gpio-leds {
|
gpio-leds {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue