See: https://github.com/raspberrypi/linux/pull/2041
Signed-off-by: Phil Elwell <phil@raspberrypi.org>
bmp280 Select the Bosch Sensortronic BMP280
Valid addresses 0x76-0x77, default 0x76
+ htu21 Select the HTU21 temperature and humidity sensor
+
lm75 Select the Maxim LM75 temperature sensor
Valid addresses 0x48-0x4f, default 0x4f
};
fragment@4 {
+ target = <&i2c_arm>;
+ __dormant__ {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ status = "okay";
+
+ htu21: htu21@40 {
+ compatible = "htu21";
+ reg = <0x40>;
+ status = "okay";
+ };
+ };
+ };
+
+ fragment@5 {
target = <&i2c_arm>;
__dormant__ {
#address-cells = <1>;
};
};
- fragment@5 {
+ fragment@6 {
target = <&i2c_arm>;
__dormant__ {
#address-cells = <1>;
};
};
- fragment@6 {
+ fragment@7 {
target = <&i2c_arm>;
__dormant__ {
#address-cells = <1>;
bmp085 = <0>,"+1";
bmp180 = <0>,"+2";
bmp280 = <0>,"+3";
- lm75 = <0>,"+4";
+ htu21 = <0>,"+4";
+ lm75 = <0>,"+5";
lm75addr = <&lm75>,"reg:0";
- si7020 = <0>,"+5";
- tmp102 = <0>,"+6";
+ si7020 = <0>,"+6";
+ tmp102 = <0>,"+7";
};
};