mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 17:53:56 +08:00
ARM: dts: ux500: samsung-golden: Add magnetometer
Add the ALPS magnetometer to the Golden phone. Cc: Stephan Gerhold <stephan@gerhold.net> Signed-off-by: Nick Reitemeyer <nick.reitemeyer@web.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20200430150245.7935-1-linus.walleij@linaro.org
This commit is contained in:
parent
2ae6193a1b
commit
521d6678b9
@ -24,6 +24,26 @@
|
||||
stdout-path = &serial2;
|
||||
};
|
||||
|
||||
i2c-gpio-1 {
|
||||
compatible = "i2c-gpio";
|
||||
sda-gpios = <&gpio4 24 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
|
||||
scl-gpios = <&gpio4 23 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
|
||||
|
||||
pinctrl-names = "default";
|
||||
pinctrl-0 = <&i2c_gpio_1_default>;
|
||||
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
magnetometer@c {
|
||||
compatible = "alps,hscdtd008a";
|
||||
reg = <0x0c>;
|
||||
|
||||
avdd-supply = <&ab8500_ldo_aux1_reg>;
|
||||
dvdd-supply = <&ab8500_ldo_aux8_reg>;
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
/* External Micro SD card slot */
|
||||
sdi0_per1@80126000 {
|
||||
@ -383,6 +403,16 @@
|
||||
};
|
||||
};
|
||||
|
||||
i2c-gpio-1 {
|
||||
i2c_gpio_1_default: i2c_gpio_1 {
|
||||
golden_cfg1 {
|
||||
pins = "GPIO151", /* COMP_SCL */
|
||||
"GPIO152"; /* COMP_SDA */
|
||||
ste,config = <&gpio_in_nopull>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
sdi0 {
|
||||
sd_level_translator_default: sd_level_translator_default {
|
||||
golden_cfg1 {
|
||||
|
Loading…
Reference in New Issue
Block a user