aboutsummaryrefslogtreecommitdiff
path: root/dts
diff options
context:
space:
mode:
Diffstat (limited to 'dts')
-rw-r--r--dts/am335x-boneblack-uboot.dts10
1 files changed, 6 insertions, 4 deletions
diff --git a/dts/am335x-boneblack-uboot.dts b/dts/am335x-boneblack-uboot.dts
index 9cdeada..64f2cea 100644
--- a/dts/am335x-boneblack-uboot.dts
+++ b/dts/am335x-boneblack-uboot.dts
@@ -2242,11 +2242,13 @@
};
};
- // 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)
+ // node name must match one in ../driver/main.h i2c_device_id struct
+ // reg and node address must match i2c address (see ../arduino/main.cpp)
+ lork_i2c: lork@22 {
+ compatible = "lork-i2c";
+ reg = <0x22>;
};
+ // NOTE: this is in i2c2, so I2C2_SCL = P9.19 and I2C2_SDA = P9.20
};
};