mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
ARM: dts: ux500: Fixup Gavini magnetometer
The Gavini device tree had the wrong magnetometer specified, this should be a YAS530. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
parent
95f0404832
commit
11611eecb8
|
|
@ -232,19 +232,18 @@ i2c-gpio-0 {
|
|||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
/* TODO: Memsic MMC328 magnetometer */
|
||||
magnetometer@30 {
|
||||
compatible = "memsic,mmc328";
|
||||
reg = <0x30>;
|
||||
/* TODO: if you have the schematic, check if both voltages come from AUX2 */
|
||||
/* VDA 1.8 V */
|
||||
vda-supply = <&ab8500_ldo_aux2_reg>;
|
||||
/* VDD 1.8V */
|
||||
vdd-supply = <&ab8500_ldo_aux2_reg>;
|
||||
/* GPIO204 */
|
||||
/* Yamaha YAS530 magnetometer */
|
||||
magnetometer@2e {
|
||||
compatible = "yamaha,yas530";
|
||||
reg = <0x2e>;
|
||||
/* VDD 3V */
|
||||
vdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||
/* IOVDD 1.8V */
|
||||
iovdd-supply = <&ab8500_ldo_aux2_reg>;
|
||||
/* GPIO204 COMPASS_RST_N */
|
||||
reset-gpios = <&gpio6 12 GPIO_ACTIVE_LOW>;
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&mmc328_default>;
|
||||
pinctrl-0 = <&yas530_default>;
|
||||
};
|
||||
/* TODO: this should also be used by the NCP6914 Camera power management unit */
|
||||
};
|
||||
|
|
@ -645,6 +644,15 @@ gavini_cfg1 {
|
|||
};
|
||||
};
|
||||
};
|
||||
/* Reset line for the Yamaha YAS530 magnetometer */
|
||||
yas530 {
|
||||
yas530_default: yas530_janice {
|
||||
janice_cfg1 {
|
||||
pins = "GPIO204_AF23";
|
||||
ste,config = <&gpio_out_hi>;
|
||||
};
|
||||
};
|
||||
};
|
||||
/* Flash and torch */
|
||||
flash {
|
||||
gpio_flash_default_mode: flash_default {
|
||||
|
|
@ -747,15 +755,6 @@ gavini_cfg1 {
|
|||
};
|
||||
};
|
||||
};
|
||||
/* Reset line for the Memsic MMC328 magnetometer */
|
||||
mmc328 {
|
||||
mmc328_default: mmc328_gavini {
|
||||
gavini_cfg1 {
|
||||
pins = "GPIO204_AF23";
|
||||
ste,config = <&gpio_out_hi>;
|
||||
};
|
||||
};
|
||||
};
|
||||
/* Interrupt line for Invensense MPU3050 gyroscope */
|
||||
mpu3050 {
|
||||
mpu3050_default: mpu3050 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user