File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
arch/arm64/boot/dts/rockchip/overlays Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,8 @@ dtb-$(CONFIG_CLK_RK3528) += \
126126 rk3528-uart2-m1.dtbo \
127127 rk3528-uart3-m0.dtbo \
128128 rk3528-uart3-m1.dtbo \
129- rk3528-uart7-m0.dtbo
129+ rk3528-uart7-m0.dtbo \
130+ rock-2a-eeprom.dtbo
130131
131132dtb-$(CONFIG_CLK_RK3568) += \
132133 audioinjector-isolated-soundcard.dtbo \
Original file line number Diff line number Diff line change 1+ /dts-v1/;
2+ /plugin/;
3+
4+ / {
5+ metadata {
6+ title = "Enable EEPROM on I2C1-M0";
7+ compatible = "radxa,rock-2a";
8+ category = "misc";
9+ exclusive = "GPIO4_A2", "GPIO4_A3", "i2c1";
10+ description = "Enable EEPROM on I2C1-M0.\nThis is a onboard device that we disable by default, so GPIO pins can function as expected.";
11+ };
12+ };
13+
14+ &i2c1 {
15+ status = "okay";
16+ pinctrl-names = "default";
17+ pinctrl-0 = <&i2c1m0_xfer>;
18+
19+ eeprom: bl24c16@50 {
20+ status = "okay";
21+ compatible = "atmel,24c16";
22+ reg = <0x50>;
23+ pagesize = <16>;
24+ };
25+ };
You can’t perform that action at this time.
0 commit comments