Boot Linux faster!

Check our new training course

Boot Linux faster!

Check our new training course
and Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer

/*
 * Copyright (c) 2021, Jonathan Hahn
 *
 * SPDX-License-Identifier: Apache-2.0
 */

&i2c1 {
    /delete-node/ lsm303dlhc-magn@1e;
    /delete-node/ lsm303dlhc-accel@19;

	lsm303agr-magn@1e {
		compatible = "st,lis2mdl", "st,lsm303agr-magn";
		reg = <0x1e>;
		label = "LSM303AGR-MAGN";
	};

    lsm303agr-accel@19 {
		compatible = "st,lis2dh", "st,lsm303agr-accel";
		reg = <0x19>;
		irq-gpios = <&gpioe 4 GPIO_ACTIVE_HIGH>,
			  <&gpioe 5 GPIO_ACTIVE_HIGH>;
		label = "LSM303AGR-ACCEL";
	};
};