diff options
author | Andrew Lunn <andrew@lunn.ch> | 2013-01-26 15:50:12 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-02-28 12:57:15 -0500 |
commit | 44d032e7940131fd991a01a948630747d91fe983 (patch) | |
tree | 6290e2b13247aeecd795de76048eb705ce891d2f /arch/arm | |
parent | 15989543d45505ed32e70505c2fce0907e5af161 (diff) |
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/boot/dts/kirkwood-topkick.dts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/kirkwood-topkick.dts b/arch/arm/boot/dts/kirkwood-topkick.dts index bb1d4df5c690..754f7efc0eec 100644 --- a/arch/arm/boot/dts/kirkwood-topkick.dts +++ b/arch/arm/boot/dts/kirkwood-topkick.dts | |||
@@ -52,7 +52,8 @@ | |||
52 | &pmx_sw_left2 | 52 | &pmx_sw_left2 |
53 | &pmx_led_wifi_yellow | 53 | &pmx_led_wifi_yellow |
54 | &pmx_uart0 | 54 | &pmx_uart0 |
55 | &pmx_nand >; | 55 | &pmx_nand |
56 | &pmx_twsi0 >; | ||
56 | pinctrl-names = "default"; | 57 | pinctrl-names = "default"; |
57 | 58 | ||
58 | pmx_led_disk_yellow: pmx-led-disk-yellow { | 59 | pmx_led_disk_yellow: pmx-led-disk-yellow { |
@@ -144,6 +145,10 @@ | |||
144 | status = "okay"; | 145 | status = "okay"; |
145 | nr-ports = <1>; | 146 | nr-ports = <1>; |
146 | }; | 147 | }; |
148 | |||
149 | i2c@11000 { | ||
150 | status = "ok"; | ||
151 | }; | ||
147 | }; | 152 | }; |
148 | 153 | ||
149 | gpio-leds { | 154 | gpio-leds { |