diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-05-13 07:37:26 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-05-13 07:37:26 -0400 |
commit | 9d8a71ff5cb2025f4f56cdce2c7d5b426bad5247 (patch) | |
tree | 776089d4edc6500ce801cdc7e693564acd696399 /arch/arm/boot/dts/ste-snowball.dts | |
parent | 58d2bc7b29fe1fe1a50fd0d318d2be800331eaf2 (diff) | |
parent | df44ad87abcbe3bbba18b7e34555f343256e7b21 (diff) |
Merge tag 'ux500-v4.2-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson into next/dt
Merge "Ux500 Device Tree changes for the v4.2 series" form Linus Walleij:
Define CPU topology, connect that with CoreSight blocks,
add sensor information to DT boards.
* tag 'ux500-v4.2-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-stericsson:
ARM: ux500: add the sensors to the STUIB board
ARM: ux500: assign the sensor trigger IRQs
ARM: ux500: fix lsm303dlh magnetometer compat string
ARM: ux500: add CoreSight blocks to DTS file
ARM: ux500: define CPU topology
Diffstat (limited to 'arch/arm/boot/dts/ste-snowball.dts')
-rw-r--r-- | arch/arm/boot/dts/ste-snowball.dts | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/ste-snowball.dts b/arch/arm/boot/dts/ste-snowball.dts index 1bc84ebdccaa..9edadc37719f 100644 --- a/arch/arm/boot/dts/ste-snowball.dts +++ b/arch/arm/boot/dts/ste-snowball.dts | |||
@@ -262,15 +262,19 @@ | |||
262 | vddio-supply = <&db8500_vsmps2_reg>; | 262 | vddio-supply = <&db8500_vsmps2_reg>; |
263 | pinctrl-names = "default"; | 263 | pinctrl-names = "default"; |
264 | pinctrl-0 = <&accel_snowball_mode>; | 264 | pinctrl-0 = <&accel_snowball_mode>; |
265 | interrupt-parent = <&gpio5>; | ||
266 | interrupts = <3 IRQ_TYPE_EDGE_RISING>, /* INT1 */ | ||
267 | <4 IRQ_TYPE_EDGE_RISING>; /* INT2 */ | ||
265 | }; | 268 | }; |
266 | lsm303dlm@1e { | 269 | lsm303dlh@1e { |
267 | /* Magnetometer */ | 270 | /* Magnetometer */ |
268 | compatible = "st,lsm303dlm-magn"; | 271 | compatible = "st,lsm303dlh-magn"; |
269 | reg = <0x1e>; | 272 | reg = <0x1e>; |
270 | vdd-supply = <&ab8500_ldo_aux1_reg>; | 273 | vdd-supply = <&ab8500_ldo_aux1_reg>; |
271 | vddio-supply = <&db8500_vsmps2_reg>; | 274 | vddio-supply = <&db8500_vsmps2_reg>; |
272 | pinctrl-names = "default"; | 275 | pinctrl-names = "default"; |
273 | pinctrl-0 = <&magneto_snowball_mode>; | 276 | pinctrl-0 = <&magneto_snowball_mode>; |
277 | gpios = <&gpio5 5 0x4>; /* DRDY line */ | ||
274 | }; | 278 | }; |
275 | l3g4200d@68 { | 279 | l3g4200d@68 { |
276 | /* Gyroscope */ | 280 | /* Gyroscope */ |
@@ -279,6 +283,11 @@ | |||
279 | reg = <0x68>; | 283 | reg = <0x68>; |
280 | vdd-supply = <&ab8500_ldo_aux1_reg>; | 284 | vdd-supply = <&ab8500_ldo_aux1_reg>; |
281 | vddio-supply = <&db8500_vsmps2_reg>; | 285 | vddio-supply = <&db8500_vsmps2_reg>; |
286 | pinctrl-names = "default"; | ||
287 | pinctrl-0 = <&gyro_snowball_mode>; | ||
288 | gpios = <&gpio5 6 0x4>; /* DRDY line */ | ||
289 | interrupt-parent = <&gpio5>; | ||
290 | interrupts = <9 IRQ_TYPE_EDGE_RISING>; /* INT1 */ | ||
282 | }; | 291 | }; |
283 | lsp001wm@5c { | 292 | lsp001wm@5c { |
284 | /* Barometer/pressure sensor */ | 293 | /* Barometer/pressure sensor */ |
@@ -489,6 +498,16 @@ | |||
489 | }; | 498 | }; |
490 | }; | 499 | }; |
491 | }; | 500 | }; |
501 | gyro { | ||
502 | gyro_snowball_mode: gyro_snowball { | ||
503 | snowball_cfg1 { | ||
504 | pins = | ||
505 | "GPIO166_A22", /* DRDY */ | ||
506 | "GPIO169_D22"; /* INT */ | ||
507 | ste,config = <&gpio_in_pu>; | ||
508 | }; | ||
509 | }; | ||
510 | }; | ||
492 | magnetometer { | 511 | magnetometer { |
493 | magneto_snowball_mode: magneto_snowball { | 512 | magneto_snowball_mode: magneto_snowball { |
494 | snowball_cfg1 { | 513 | snowball_cfg1 { |