diff options
Diffstat (limited to 'dts')
-rw-r--r-- | dts/am335x-boneblack-uboot.dts | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/dts/am335x-boneblack-uboot.dts b/dts/am335x-boneblack-uboot.dts index 43c1cfe..9cdeada 100644 --- a/dts/am335x-boneblack-uboot.dts +++ b/dts/am335x-boneblack-uboot.dts @@ -2177,7 +2177,7 @@ #size-cells = <0x01>; ranges = <0x00 0x9c000 0x1000>; - i2c@0 { + i2c2: i2c@0 { compatible = "ti,omap4-i2c"; #address-cells = <0x01>; #size-cells = <0x00>; @@ -2241,6 +2241,12 @@ phandle = <0xbb>; }; }; + + // NOTE: this is in i2c2, so I2C2_SCL = P9.19 and I2C2_SDA = P9.20 + lork { + compatible = "lork-i2c"; // load my driver + addr = <0x22>; // i2c slave address (see ../arduino/main.cpp) + }; }; }; @@ -3892,11 +3898,4 @@ not_available = "/not_available"; vmmcsd_fixed = "/fixedregulator0"; }; - - // this section is visible at runtime under - // /sys/firmware/devicetree/base/lork - lork { - compatible = "gpio-extern"; - gpios = <&gpio1 18 GPIO_ACTIVE_HIGH>; - }; }; |