diff options
Diffstat (limited to 'arch/arm/boot/dts/exynos4412-trats2.dts')
-rw-r--r-- | arch/arm/boot/dts/exynos4412-trats2.dts | 133 |
1 files changed, 119 insertions, 14 deletions
diff --git a/arch/arm/boot/dts/exynos4412-trats2.dts b/arch/arm/boot/dts/exynos4412-trats2.dts index 8a558b7ac999..77878447b312 100644 --- a/arch/arm/boot/dts/exynos4412-trats2.dts +++ b/arch/arm/boot/dts/exynos4412-trats2.dts | |||
@@ -20,7 +20,8 @@ | |||
20 | compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4"; | 20 | compatible = "samsung,trats2", "samsung,exynos4412", "samsung,exynos4"; |
21 | 21 | ||
22 | aliases { | 22 | aliases { |
23 | i2c8 = &i2c_ak8975; | 23 | i2c9 = &i2c_ak8975; |
24 | i2c10 = &i2c_cm36651; | ||
24 | }; | 25 | }; |
25 | 26 | ||
26 | memory { | 27 | memory { |
@@ -80,39 +81,67 @@ | |||
80 | enable-active-high; | 81 | enable-active-high; |
81 | }; | 82 | }; |
82 | 83 | ||
83 | /* More to come */ | 84 | cam_af_reg: voltage-regulator-3 { |
85 | compatible = "regulator-fixed"; | ||
86 | regulator-name = "CAM_AF"; | ||
87 | regulator-min-microvolt = <2800000>; | ||
88 | regulator-max-microvolt = <2800000>; | ||
89 | gpio = <&gpm0 4 0>; | ||
90 | enable-active-high; | ||
91 | }; | ||
92 | |||
93 | cam_isp_core_reg: voltage-regulator-4 { | ||
94 | compatible = "regulator-fixed"; | ||
95 | regulator-name = "CAM_ISP_CORE_1.2V_EN"; | ||
96 | regulator-min-microvolt = <1200000>; | ||
97 | regulator-max-microvolt = <1200000>; | ||
98 | gpio = <&gpm0 3 0>; | ||
99 | enable-active-high; | ||
100 | regulator-always-on; | ||
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 | }; | ||
84 | }; | 111 | }; |
85 | 112 | ||
86 | gpio-keys { | 113 | gpio-keys { |
87 | compatible = "gpio-keys"; | 114 | compatible = "gpio-keys"; |
88 | 115 | ||
89 | key-down { | 116 | key-down { |
90 | interrupt-parent = <&gpj1>; | 117 | gpios = <&gpx3 3 1>; |
91 | interrupts = <2 0>; | ||
92 | gpios = <&gpj1 2 1>; | ||
93 | linux,code = <114>; | 118 | linux,code = <114>; |
94 | label = "volume down"; | 119 | label = "volume down"; |
95 | debounce-interval = <10>; | 120 | debounce-interval = <10>; |
96 | }; | 121 | }; |
97 | 122 | ||
98 | key-up { | 123 | key-up { |
99 | interrupt-parent = <&gpj1>; | 124 | gpios = <&gpx2 2 1>; |
100 | interrupts = <1 0>; | ||
101 | gpios = <&gpj1 1 1>; | ||
102 | linux,code = <115>; | 125 | linux,code = <115>; |
103 | label = "volume up"; | 126 | label = "volume up"; |
104 | debounce-interval = <10>; | 127 | debounce-interval = <10>; |
105 | }; | 128 | }; |
106 | 129 | ||
107 | key-power { | 130 | key-power { |
108 | interrupt-parent = <&gpx2>; | ||
109 | interrupts = <7 0>; | ||
110 | gpios = <&gpx2 7 1>; | 131 | gpios = <&gpx2 7 1>; |
111 | linux,code = <116>; | 132 | linux,code = <116>; |
112 | label = "power"; | 133 | label = "power"; |
113 | debounce-interval = <10>; | 134 | debounce-interval = <10>; |
114 | gpio-key,wakeup; | 135 | gpio-key,wakeup; |
115 | }; | 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 | }; | ||
116 | }; | 145 | }; |
117 | 146 | ||
118 | adc: adc@126C0000 { | 147 | adc: adc@126C0000 { |
@@ -140,6 +169,38 @@ | |||
140 | }; | 169 | }; |
141 | }; | 170 | }; |
142 | 171 | ||
172 | i2c_0: i2c@13860000 { | ||
173 | samsung,i2c-sda-delay = <100>; | ||
174 | samsung,i2c-slave-addr = <0x10>; | ||
175 | samsung,i2c-max-bus-freq = <400000>; | ||
176 | pinctrl-0 = <&i2c0_bus>; | ||
177 | pinctrl-names = "default"; | ||
178 | status = "okay"; | ||
179 | |||
180 | s5c73m3@3c { | ||
181 | compatible = "samsung,s5c73m3"; | ||
182 | reg = <0x3c>; | ||
183 | standby-gpios = <&gpm0 1 1>; /* ISP_STANDBY */ | ||
184 | xshutdown-gpios = <&gpf1 3 1>; /* ISP_RESET */ | ||
185 | vdd-int-supply = <&buck9_reg>; | ||
186 | vddio-cis-supply = <&ldo9_reg>; | ||
187 | vdda-supply = <&ldo17_reg>; | ||
188 | vddio-host-supply = <&ldo18_reg>; | ||
189 | vdd-af-supply = <&cam_af_reg>; | ||
190 | vdd-reg-supply = <&cam_io_reg>; | ||
191 | clock-frequency = <24000000>; | ||
192 | /* CAM_A_CLKOUT */ | ||
193 | clocks = <&camera 0>; | ||
194 | clock-names = "cis_extclk"; | ||
195 | port { | ||
196 | s5c73m3_ep: endpoint { | ||
197 | remote-endpoint = <&csis0_ep>; | ||
198 | data-lanes = <1 2 3 4>; | ||
199 | }; | ||
200 | }; | ||
201 | }; | ||
202 | }; | ||
203 | |||
143 | i2c@138D0000 { | 204 | i2c@138D0000 { |
144 | samsung,i2c-sda-delay = <100>; | 205 | samsung,i2c-sda-delay = <100>; |
145 | samsung,i2c-slave-addr = <0x10>; | 206 | samsung,i2c-slave-addr = <0x10>; |
@@ -509,6 +570,22 @@ | |||
509 | }; | 570 | }; |
510 | }; | 571 | }; |
511 | 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 | |||
512 | spi_1: spi@13930000 { | 589 | spi_1: spi@13930000 { |
513 | pinctrl-names = "default"; | 590 | pinctrl-names = "default"; |
514 | pinctrl-0 = <&spi1_bus>; | 591 | pinctrl-0 = <&spi1_bus>; |
@@ -586,8 +663,8 @@ | |||
586 | status = "okay"; | 663 | status = "okay"; |
587 | }; | 664 | }; |
588 | 665 | ||
589 | camera { | 666 | camera: camera { |
590 | pinctrl-0 = <&cam_port_b_clk_active>; | 667 | pinctrl-0 = <&cam_port_a_clk_active &cam_port_b_clk_active>; |
591 | pinctrl-names = "default"; | 668 | pinctrl-names = "default"; |
592 | status = "okay"; | 669 | status = "okay"; |
593 | 670 | ||
@@ -607,6 +684,23 @@ | |||
607 | status = "okay"; | 684 | status = "okay"; |
608 | }; | 685 | }; |
609 | 686 | ||
687 | csis_0: csis@11880000 { | ||
688 | status = "okay"; | ||
689 | vddcore-supply = <&ldo8_reg>; | ||
690 | vddio-supply = <&ldo10_reg>; | ||
691 | clock-frequency = <176000000>; | ||
692 | |||
693 | /* Camera C (3) MIPI CSI-2 (CSIS0) */ | ||
694 | port@3 { | ||
695 | reg = <3>; | ||
696 | csis0_ep: endpoint { | ||
697 | remote-endpoint = <&s5c73m3_ep>; | ||
698 | data-lanes = <1 2 3 4>; | ||
699 | samsung,csis-hs-settle = <12>; | ||
700 | }; | ||
701 | }; | ||
702 | }; | ||
703 | |||
610 | csis_1: csis@11890000 { | 704 | csis_1: csis@11890000 { |
611 | vddcore-supply = <&ldo8_reg>; | 705 | vddcore-supply = <&ldo8_reg>; |
612 | vddio-supply = <&ldo10_reg>; | 706 | vddio-supply = <&ldo10_reg>; |
@@ -647,10 +741,11 @@ | |||
647 | reg = <0x10>; | 741 | reg = <0x10>; |
648 | svdda-supply = <&cam_io_reg>; | 742 | svdda-supply = <&cam_io_reg>; |
649 | svddio-supply = <&ldo19_reg>; | 743 | svddio-supply = <&ldo19_reg>; |
744 | afvdd-supply = <&ldo19_reg>; | ||
650 | clock-frequency = <24000000>; | 745 | clock-frequency = <24000000>; |
651 | /* CAM_B_CLKOUT */ | 746 | /* CAM_B_CLKOUT */ |
652 | clocks = <&clock_cam 1>; | 747 | clocks = <&camera 1>; |
653 | clock-names = "mclk"; | 748 | clock-names = "extclk"; |
654 | samsung,camclk-out = <1>; | 749 | samsung,camclk-out = <1>; |
655 | gpios = <&gpm1 6 0>; | 750 | gpios = <&gpm1 6 0>; |
656 | 751 | ||
@@ -665,6 +760,16 @@ | |||
665 | }; | 760 | }; |
666 | }; | 761 | }; |
667 | 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 | |||
668 | thermistor-ap@0 { | 773 | thermistor-ap@0 { |
669 | compatible = "ntc,ncp15wb473"; | 774 | compatible = "ntc,ncp15wb473"; |
670 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ | 775 | pullup-uv = <1800000>; /* VCC_1.8V_AP */ |