boards: Set magnetometer devicetree alias for bmm150 nodes
Sets a magnetometer devicetree alias for all boards that contain the BMM150 sensor to enable the magn_polling sample application. Signed-off-by: Maureen Helm <maureen.helm@intel.com>
This commit is contained in:
parent
64de633b2e
commit
82dfaf2443
|
@ -114,6 +114,7 @@
|
|||
pwm-led0 = &red_led_pwm;
|
||||
pwm-led1 = &green_led_pwm;
|
||||
pwm-led2 = &blue_led_pwm;
|
||||
magn0 = &bmm150;
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -157,7 +158,7 @@
|
|||
pinctrl-0 = <&i2c1_default>;
|
||||
pinctrl-1 = <&i2c1_sleep>;
|
||||
pinctrl-names = "default", "sleep";
|
||||
bmm150@10 {
|
||||
bmm150: bmm150@10 {
|
||||
compatible = "bosch,bmm150";
|
||||
label = "BMM150";
|
||||
reg = <0x10>;
|
||||
|
|
Loading…
Reference in a new issue