@@ -24,7 +24,17 @@
reg = <0x80000000 0x10000000>; /* 256 MB */
};
+ am3358_pinmux: pinmux@44e10800 {
+ i2c3_pins: pinmux_i2c3_pins {
+ pinctrl-single,pins = <
+ 0x178 0x73 /* uart1_ctsn.i2c2_sda, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */
+ 0x17c 0x73 /* uart1_rtsn.i2c2_scl, SLEWCTRL_SLOW | INPUT_PULLUP | MODE3 */
+ >;
+ };
+ };
+
ocp {
+
uart1: serial@44e09000 {
status = "okay";
};
@@ -37,6 +47,39 @@
reg = <0x24>;
};
+ baseboard_eeprom: baseboard_eeprom@50 {
+ compatible = "at,24c256";
+ reg = <0x50>;
+ };
+
+ };
+
+ i2c3: i2c@4819c000 {
+ status = "okay";
+ pinctrl-names = "default";
+ pinctrl-0 = <&i2c3_pins>;
+
+ clock-frequency = <100000>;
+
+ cape_eeprom_0: cape_eeprom_0@54 {
+ compatible = "at,24c256";
+ reg = <0x54>;
+ };
+
+ cape_eeprom_1: cape_eeprom_1@55 {
+ compatible = "at,24c256";
+ reg = <0x55>;
+ };
+
+ cape_eeprom_2: cape_eeprom_2@56 {
+ compatible = "at,24c256";
+ reg = <0x56>;
+ };
+
+ cape_eeprom_3: cape_eeprom_3@57 {
+ compatible = "at,24c256";
+ reg = <0x57>;
+ };
};
};
};
Add I2C DT bindings for the beaglebone. This includes bindings for the EEPROMs on both I2C busses. Note that this requires a pinmux node in am33xx.dtsi, introduced from 47acae37fa0d11dd8fba58f8825ac3a2baeab903 "arm/dts: AM33XX: Add basic pinctrl device tree data" Signed-off-by: Pantelis Antoniou <panto@antoniou-consulting.com> --- arch/arm/boot/dts/am335x-bone.dts | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+)