diff options
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-trats2.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-trats2.dts | 54 |
1 files changed, 46 insertions, 8 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index bc08e6ef3d4f..77878447b312 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts | |||
@@ -21,6 +21,7 @@ | |||
21 | 21 | ||
22 | aliases { | 22 | aliases { |
23 | i2c9 = &i2c_ak8975; | 23 | i2c9 = &i2c_ak8975; |
24 | i2c10 = &i2c_cm36651; | ||
24 | }; | 25 | }; |
25 | 26 | ||
26 | memory { | 27 | memory { |
@@ -98,38 +99,49 @@ | |||
98 | enable-active-high; | 99 | enable-active-high; |
99 | regulator-always-on; | 100 | regulator-always-on; |
100 | }; | 101 | }; |
102 | |||
103 | ps_als_reg: voltage-regulator-5 { | ||
104 | compatible = "regulator-fixed"; | ||
105 | regulator-name = "LED_A_3.0V"; | ||
106 | regulator-min-microvolt = <3000000>; | ||
107 | regulator-max-microvolt = <3000000>; | ||
108 | gpio = <&gpj0 5 0>; | ||
109 | enable-active-high; | ||
110 | }; | ||
101 | }; | 111 | }; |
102 | 112 | ||
103 | gpio-keys { | 113 | gpio-keys { |
104 | compatible = "gpio-keys"; | 114 | compatible = "gpio-keys"; |
105 | 115 | ||
106 | key-down { | 116 | key-down { |
107 | interrupt-parent = <&gpj1>; | 117 | gpios = <&gpx3 3 1>; |
108 | interrupts = <2 0>; | ||
109 | gpios = <&gpj1 2 1>; | ||
110 | linux,code = <114>; | 118 | linux,code = <114>; |
111 | label = "volume down"; | 119 | label = "volume down"; |
112 | debounce-interval = <10>; | 120 | debounce-interval = <10>; |
113 | }; | 121 | }; |
114 | 122 | ||
115 | key-up { | 123 | key-up { |
116 | interrupt-parent = <&gpj1>; | 124 | gpios = <&gpx2 2 1>; |
117 | interrupts = <1 0>; | ||
118 | gpios = <&gpj1 1 1>; | ||
119 | linux,code = <115>; | 125 | linux,code = <115>; |
120 | label = "volume up"; | 126 | label = "volume up"; |
121 | debounce-interval = <10>; | 127 | debounce-interval = <10>; |
122 | }; | 128 | }; |
123 | 129 | ||
124 | key-power { | 130 | key-power { |
125 | interrupt-parent = <&gpx2>; | ||
126 | interrupts = <7 0>; | ||
127 | gpios = <&gpx2 7 1>; | 131 | gpios = <&gpx2 7 1>; |
128 | linux,code = <116>; | 132 | linux,code = <116>; |
129 | label = "power"; | 133 | label = "power"; |
130 | debounce-interval = <10>; | 134 | debounce-interval = <10>; |
131 | gpio-key,wakeup; | 135 | gpio-key,wakeup; |
132 | }; | 136 | }; |
137 | |||
138 | key-ok { | ||
139 | gpios = <&gpx0 1 1>; | ||
140 | linux,code = <139>; | ||
141 | label = "ok"; | ||
142 | debounce-inteval = <10>; | ||
143 | gpio-key,wakeup; | ||
144 | }; | ||
133 | }; | 145 | }; |
134 | 146 | ||
135 | adc: adc@126C0000 { | 147 | adc: adc@126C0000 { |
@@ -558,6 +570,22 @@ | |||
558 | }; | 570 | }; |
559 | }; | 571 | }; |
560 | 572 | ||
573 | i2c_cm36651: i2c-gpio-2 { | ||
574 | compatible = "i2c-gpio"; | ||
575 | gpios = <&gpf0 0 1>, <&gpf0 1 1>; | ||
576 | i2c-gpio,delay-us = <2>; | ||
577 | #address-cells = <1>; | ||
578 | #size-cells = <0>; | ||
579 | |||
580 | cm36651@18 { | ||
581 | compatible = "capella,cm36651"; | ||
582 | reg = <0x18>; | ||
583 | interrupt-parent = <&gpx0>; | ||
584 | interrupts = <2 2>; | ||
585 | vled-supply = <&ps_als_reg>; | ||
586 | }; | ||
587 | }; | ||
588 | |||
561 | spi_1: spi@13930000 { | 589 | spi_1: spi@13930000 { |
562 | pinctrl-names = "default"; | 590 | pinctrl-names = "default"; |
563 | pinctrl-0 = <&spi1_bus>; | 591 | pinctrl-0 = <&spi1_bus>; |
@@ -732,6 +760,16 @@ | |||
732 | }; | 760 | }; |
733 | }; | 761 | }; |
734 | 762 | ||
763 | exynos-usbphy@125B0000 { | ||
764 | status = "okay"; | ||
765 | }; | ||
766 | |||
767 | hsotg@12480000 { | ||
768 | vusb_d-supply = <&ldo15_reg>; | ||
769 | vusb_a-supply = <&ldo12_reg>; | ||
770 | status = "okay"; | ||
771 | }; | ||
772 | |||
735 | thermistor-ap@0 { | 773 | thermistor-ap@0 { |
736 | compatible = "ntc,ncp15wb473"; | 774 | compatible = "ntc,ncp15wb473"; |
737 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ | 775 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ |