Skip to content

Commit 547a75d

Browse files
jadonkcarlescufi
authored andcommitted
Revert "boards: arm: Fix sensor shell sample for beagleconnect_freedom board"
This reverts commit 3769938. Now that gpio_i2c_switch is upstream, this hack should be removed. This had the unintended effect of disabling the on-board sensors. The issue was that the board was merged before this driver was upstream, resulting in the issue this commit "fixed". This revert also does not move the bus driver under the controller used by the driver as the sensor bus I2C driver is not an I2C peripheral. See: * zephyrproject-rtos/zephyr#64881 * zephyrproject-rtos/zephyr#64693 * zephyrproject-rtos/zephyr#65031 Signed-off-by: Jason Kridner <[email protected]>
1 parent 72620ba commit 547a75d

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

boards/arm/beagle_bcf/beagleconnect_freedom.dts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,18 @@
6464
#size-cells = <0>;
6565
controller = <&i2c0>;
6666
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
67+
68+
light: opt3001-light@44 {
69+
status = "okay";
70+
compatible = "ti,opt3001";
71+
reg = <0x44>;
72+
};
73+
74+
humidity: hdc2010-humidity@41 {
75+
status = "okay";
76+
compatible = "ti,hdc2010";
77+
reg = <0x41>;
78+
};
6779
};
6880
};
6981

@@ -126,18 +138,6 @@
126138
compatible = "beagle,usbbridge";
127139
reg = <0x4>;
128140
};
129-
130-
light: opt3001-light@44 {
131-
status = "okay";
132-
compatible = "ti,opt3001";
133-
reg = <0x44>;
134-
};
135-
136-
humidity: hdc2010-humidity@41 {
137-
status = "okay";
138-
compatible = "ti,hdc2010";
139-
reg = <0x41>;
140-
};
141141
};
142142

143143
&spi0 {

0 commit comments

Comments
 (0)