diff options
Diffstat (limited to 'arch/arm/boot/dts/tegra20-seaboard.dts')
-rw-r--r-- | arch/arm/boot/dts/tegra20-seaboard.dts | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/arch/arm/boot/dts/tegra20-seaboard.dts b/arch/arm/boot/dts/tegra20-seaboard.dts index 009dafecf88b..ab177b406b78 100644 --- a/arch/arm/boot/dts/tegra20-seaboard.dts +++ b/arch/arm/boot/dts/tegra20-seaboard.dts | |||
@@ -1,6 +1,6 @@ | |||
1 | /dts-v1/; | 1 | /dts-v1/; |
2 | 2 | ||
3 | /include/ "tegra20.dtsi" | 3 | #include "tegra20.dtsi" |
4 | 4 | ||
5 | / { | 5 | / { |
6 | model = "NVIDIA Seaboard"; | 6 | model = "NVIDIA Seaboard"; |
@@ -18,7 +18,8 @@ | |||
18 | pll-supply = <&hdmi_pll_reg>; | 18 | pll-supply = <&hdmi_pll_reg>; |
19 | 19 | ||
20 | nvidia,ddc-i2c-bus = <&hdmi_ddc>; | 20 | nvidia,ddc-i2c-bus = <&hdmi_ddc>; |
21 | nvidia,hpd-gpio = <&gpio 111 0>; /* PN7 */ | 21 | nvidia,hpd-gpio = <&gpio TEGRA_GPIO(N, 7) |
22 | GPIO_ACTIVE_HIGH>; | ||
22 | }; | 23 | }; |
23 | }; | 24 | }; |
24 | 25 | ||
@@ -313,7 +314,7 @@ | |||
313 | compatible = "wlf,wm8903"; | 314 | compatible = "wlf,wm8903"; |
314 | reg = <0x1a>; | 315 | reg = <0x1a>; |
315 | interrupt-parent = <&gpio>; | 316 | interrupt-parent = <&gpio>; |
316 | interrupts = <187 0x04>; | 317 | interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>; |
317 | 318 | ||
318 | gpio-controller; | 319 | gpio-controller; |
319 | #gpio-cells = <2>; | 320 | #gpio-cells = <2>; |
@@ -328,14 +329,14 @@ | |||
328 | compatible = "isil,isl29018"; | 329 | compatible = "isil,isl29018"; |
329 | reg = <0x44>; | 330 | reg = <0x44>; |
330 | interrupt-parent = <&gpio>; | 331 | interrupt-parent = <&gpio>; |
331 | interrupts = <202 0x04>; /* GPIO PZ2 */ | 332 | interrupts = <TEGRA_GPIO(Z, 2) IRQ_TYPE_LEVEL_HIGH>; |
332 | }; | 333 | }; |
333 | 334 | ||
334 | gyrometer@68 { | 335 | gyrometer@68 { |
335 | compatible = "invn,mpu3050"; | 336 | compatible = "invn,mpu3050"; |
336 | reg = <0x68>; | 337 | reg = <0x68>; |
337 | interrupt-parent = <&gpio>; | 338 | interrupt-parent = <&gpio>; |
338 | interrupts = <204 0x04>; /* gpio PZ4 */ | 339 | interrupts = <TEGRA_GPIO(Z, 4) IRQ_TYPE_LEVEL_HIGH>; |
339 | }; | 340 | }; |
340 | }; | 341 | }; |
341 | 342 | ||
@@ -388,7 +389,7 @@ | |||
388 | pmic: tps6586x@34 { | 389 | pmic: tps6586x@34 { |
389 | compatible = "ti,tps6586x"; | 390 | compatible = "ti,tps6586x"; |
390 | reg = <0x34>; | 391 | reg = <0x34>; |
391 | interrupts = <0 86 0x4>; | 392 | interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; |
392 | 393 | ||
393 | ti,system-power-controller; | 394 | ti,system-power-controller; |
394 | 395 | ||
@@ -511,7 +512,7 @@ | |||
511 | compatible = "ak,ak8975"; | 512 | compatible = "ak,ak8975"; |
512 | reg = <0xc>; | 513 | reg = <0xc>; |
513 | interrupt-parent = <&gpio>; | 514 | interrupt-parent = <&gpio>; |
514 | interrupts = <109 0x04>; /* gpio PN5 */ | 515 | interrupts = <TEGRA_GPIO(N, 5) IRQ_TYPE_LEVEL_HIGH>; |
515 | }; | 516 | }; |
516 | }; | 517 | }; |
517 | 518 | ||
@@ -565,7 +566,7 @@ | |||
565 | 566 | ||
566 | usb@c5000000 { | 567 | usb@c5000000 { |
567 | status = "okay"; | 568 | status = "okay"; |
568 | nvidia,vbus-gpio = <&gpio 24 0>; /* PD0 */ | 569 | nvidia,vbus-gpio = <&gpio TEGRA_GPIO(D, 0) GPIO_ACTIVE_HIGH>; |
569 | dr_mode = "otg"; | 570 | dr_mode = "otg"; |
570 | }; | 571 | }; |
571 | 572 | ||
@@ -577,12 +578,14 @@ | |||
577 | 578 | ||
578 | usb@c5004000 { | 579 | usb@c5004000 { |
579 | status = "okay"; | 580 | status = "okay"; |
580 | nvidia,phy-reset-gpio = <&gpio 169 1>; /* gpio PV1, active low */ | 581 | nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) |
582 | GPIO_ACTIVE_LOW>; | ||
581 | }; | 583 | }; |
582 | 584 | ||
583 | usb-phy@c5004000 { | 585 | usb-phy@c5004000 { |
584 | status = "okay"; | 586 | status = "okay"; |
585 | nvidia,phy-reset-gpio = <&gpio 169 1>; /* gpio PV1, active low */ | 587 | nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1) |
588 | GPIO_ACTIVE_LOW>; | ||
586 | }; | 589 | }; |
587 | 590 | ||
588 | usb@c5008000 { | 591 | usb@c5008000 { |
@@ -595,16 +598,16 @@ | |||
595 | 598 | ||
596 | sdhci@c8000000 { | 599 | sdhci@c8000000 { |
597 | status = "okay"; | 600 | status = "okay"; |
598 | power-gpios = <&gpio 86 0>; /* gpio PK6 */ | 601 | power-gpios = <&gpio TEGRA_GPIO(K, 6) GPIO_ACTIVE_HIGH>; |
599 | bus-width = <4>; | 602 | bus-width = <4>; |
600 | keep-power-in-suspend; | 603 | keep-power-in-suspend; |
601 | }; | 604 | }; |
602 | 605 | ||
603 | sdhci@c8000400 { | 606 | sdhci@c8000400 { |
604 | status = "okay"; | 607 | status = "okay"; |
605 | cd-gpios = <&gpio 69 1>; /* gpio PI5 */ | 608 | cd-gpios = <&gpio TEGRA_GPIO(I, 5) GPIO_ACTIVE_LOW>; |
606 | wp-gpios = <&gpio 57 0>; /* gpio PH1 */ | 609 | wp-gpios = <&gpio TEGRA_GPIO(H, 1) GPIO_ACTIVE_HIGH>; |
607 | power-gpios = <&gpio 70 0>; /* gpio PI6 */ | 610 | power-gpios = <&gpio TEGRA_GPIO(I, 6) GPIO_ACTIVE_HIGH>; |
608 | bus-width = <4>; | 611 | bus-width = <4>; |
609 | }; | 612 | }; |
610 | 613 | ||
@@ -632,14 +635,14 @@ | |||
632 | 635 | ||
633 | power { | 636 | power { |
634 | label = "Power"; | 637 | label = "Power"; |
635 | gpios = <&gpio 170 1>; /* gpio PV2, active low */ | 638 | gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_LOW>; |
636 | linux,code = <116>; /* KEY_POWER */ | 639 | linux,code = <116>; /* KEY_POWER */ |
637 | gpio-key,wakeup; | 640 | gpio-key,wakeup; |
638 | }; | 641 | }; |
639 | 642 | ||
640 | lid { | 643 | lid { |
641 | label = "Lid"; | 644 | label = "Lid"; |
642 | gpios = <&gpio 23 0>; /* gpio PC7 */ | 645 | gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_HIGH>; |
643 | linux,input-type = <5>; /* EV_SW */ | 646 | linux,input-type = <5>; /* EV_SW */ |
644 | linux,code = <0>; /* SW_LID */ | 647 | linux,code = <0>; /* SW_LID */ |
645 | debounce-interval = <1>; | 648 | debounce-interval = <1>; |
@@ -806,7 +809,7 @@ | |||
806 | regulator-name = "vdd_1v5"; | 809 | regulator-name = "vdd_1v5"; |
807 | regulator-min-microvolt = <1500000>; | 810 | regulator-min-microvolt = <1500000>; |
808 | regulator-max-microvolt = <1500000>; | 811 | regulator-max-microvolt = <1500000>; |
809 | gpio = <&pmic 0 0>; | 812 | gpio = <&pmic 0 GPIO_ACTIVE_HIGH>; |
810 | }; | 813 | }; |
811 | 814 | ||
812 | regulator@2 { | 815 | regulator@2 { |
@@ -815,7 +818,7 @@ | |||
815 | regulator-name = "vdd_1v2"; | 818 | regulator-name = "vdd_1v2"; |
816 | regulator-min-microvolt = <1200000>; | 819 | regulator-min-microvolt = <1200000>; |
817 | regulator-max-microvolt = <1200000>; | 820 | regulator-max-microvolt = <1200000>; |
818 | gpio = <&pmic 1 0>; | 821 | gpio = <&pmic 1 GPIO_ACTIVE_HIGH>; |
819 | enable-active-high; | 822 | enable-active-high; |
820 | }; | 823 | }; |
821 | 824 | ||
@@ -847,10 +850,12 @@ | |||
847 | nvidia,i2s-controller = <&tegra_i2s1>; | 850 | nvidia,i2s-controller = <&tegra_i2s1>; |
848 | nvidia,audio-codec = <&wm8903>; | 851 | nvidia,audio-codec = <&wm8903>; |
849 | 852 | ||
850 | nvidia,spkr-en-gpios = <&wm8903 2 0>; | 853 | nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>; |
851 | nvidia,hp-det-gpios = <&gpio 185 0>; /* gpio PX1 */ | 854 | nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(X, 1) GPIO_ACTIVE_HIGH>; |
852 | 855 | ||
853 | clocks = <&tegra_car 112>, <&tegra_car 113>, <&tegra_car 94>; | 856 | clocks = <&tegra_car TEGRA20_CLK_PLL_A>, |
857 | <&tegra_car TEGRA20_CLK_PLL_A_OUT0>, | ||
858 | <&tegra_car TEGRA20_CLK_CDEV1>; | ||
854 | clock-names = "pll_a", "pll_a_out0", "mclk"; | 859 | clock-names = "pll_a", "pll_a_out0", "mclk"; |
855 | }; | 860 | }; |
856 | }; | 861 | }; |