1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9 3 * Samsung's Exynos4210 based Galaxy S2 (GT-I9100 version) device tree 4 * 4 * 5 * Copyright (c) 2012 Samsung Electronics Co., 5 * Copyright (c) 2012 Samsung Electronics Co., Ltd. 6 * http://www.samsung.com 6 * http://www.samsung.com 7 * Copyright (c) 2020 Stenkin Evgeniy <stenkine 7 * Copyright (c) 2020 Stenkin Evgeniy <stenkinevgeniy@gmail.com> 8 * Copyright (c) 2020 Paul Cercueil <paul@crapo 8 * Copyright (c) 2020 Paul Cercueil <paul@crapouillou.net> 9 */ 9 */ 10 10 11 /dts-v1/; 11 /dts-v1/; 12 #include "exynos4210.dtsi" 12 #include "exynos4210.dtsi" 13 #include "exynos4412-ppmu-common.dtsi" 13 #include "exynos4412-ppmu-common.dtsi" 14 14 15 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/input/linux-event-codes. 16 #include <dt-bindings/input/linux-event-codes.h> 17 17 18 / { 18 / { 19 model = "Samsung Galaxy S2 (GT-I9100)" 19 model = "Samsung Galaxy S2 (GT-I9100)"; 20 compatible = "samsung,i9100", "samsung 20 compatible = "samsung,i9100", "samsung,exynos4210", "samsung,exynos4"; 21 chassis-type = "handset"; 21 chassis-type = "handset"; 22 22 23 memory@40000000 { 23 memory@40000000 { 24 device_type = "memory"; 24 device_type = "memory"; 25 reg = <0x40000000 0x40000000>; 25 reg = <0x40000000 0x40000000>; 26 }; 26 }; 27 27 28 aliases { 28 aliases { 29 mmc0 = &sdhci_0; 29 mmc0 = &sdhci_0; 30 mmc1 = &sdhci_2; 30 mmc1 = &sdhci_2; 31 mmc2 = &sdhci_3; 31 mmc2 = &sdhci_3; 32 }; 32 }; 33 33 34 chosen { 34 chosen { 35 stdout-path = "serial2:115200n 35 stdout-path = "serial2:115200n8"; 36 }; 36 }; 37 37 38 vemmc_reg: regulator-0 { 38 vemmc_reg: regulator-0 { 39 compatible = "regulator-fixed" 39 compatible = "regulator-fixed"; 40 regulator-name = "VMEM_VDD_2.8 40 regulator-name = "VMEM_VDD_2.8V"; 41 regulator-min-microvolt = <280 41 regulator-min-microvolt = <2800000>; 42 regulator-max-microvolt = <280 42 regulator-max-microvolt = <2800000>; 43 gpio = <&gpk0 2 GPIO_ACTIVE_HI 43 gpio = <&gpk0 2 GPIO_ACTIVE_HIGH>; 44 enable-active-high; 44 enable-active-high; 45 }; 45 }; 46 46 47 tsp_reg: regulator-1 { 47 tsp_reg: regulator-1 { 48 compatible = "regulator-fixed" 48 compatible = "regulator-fixed"; 49 regulator-name = "TSP_FIXED_VO 49 regulator-name = "TSP_FIXED_VOLTAGES"; 50 regulator-min-microvolt = <330 50 regulator-min-microvolt = <3300000>; 51 regulator-max-microvolt = <330 51 regulator-max-microvolt = <3300000>; 52 gpio = <&gpl0 3 GPIO_ACTIVE_HI 52 gpio = <&gpl0 3 GPIO_ACTIVE_HIGH>; 53 startup-delay-us = <70000>; 53 startup-delay-us = <70000>; 54 enable-active-high; 54 enable-active-high; 55 regulator-boot-on; 55 regulator-boot-on; 56 regulator-always-on; 56 regulator-always-on; 57 }; 57 }; 58 58 59 cam_af_28v_reg: regulator-2 { 59 cam_af_28v_reg: regulator-2 { 60 compatible = "regulator-fixed" 60 compatible = "regulator-fixed"; 61 regulator-name = "8M_AF_2.8V_E 61 regulator-name = "8M_AF_2.8V_EN"; 62 regulator-min-microvolt = <280 62 regulator-min-microvolt = <2800000>; 63 regulator-max-microvolt = <280 63 regulator-max-microvolt = <2800000>; 64 gpio = <&gpk1 1 GPIO_ACTIVE_HI 64 gpio = <&gpk1 1 GPIO_ACTIVE_HIGH>; 65 enable-active-high; 65 enable-active-high; 66 }; 66 }; 67 67 68 cam_io_en_reg: regulator-3 { 68 cam_io_en_reg: regulator-3 { 69 compatible = "regulator-fixed" 69 compatible = "regulator-fixed"; 70 regulator-name = "CAM_IO_EN"; 70 regulator-name = "CAM_IO_EN"; 71 regulator-min-microvolt = <280 71 regulator-min-microvolt = <2800000>; 72 regulator-max-microvolt = <280 72 regulator-max-microvolt = <2800000>; 73 gpio = <&gpe2 1 GPIO_ACTIVE_HI 73 gpio = <&gpe2 1 GPIO_ACTIVE_HIGH>; 74 enable-active-high; 74 enable-active-high; 75 }; 75 }; 76 76 77 cam_io_12v_reg: regulator-4 { 77 cam_io_12v_reg: regulator-4 { 78 compatible = "regulator-fixed" 78 compatible = "regulator-fixed"; 79 regulator-name = "8M_1.2V_EN"; 79 regulator-name = "8M_1.2V_EN"; 80 regulator-min-microvolt = <120 80 regulator-min-microvolt = <1200000>; 81 regulator-max-microvolt = <120 81 regulator-max-microvolt = <1200000>; 82 gpio = <&gpe2 5 GPIO_ACTIVE_HI 82 gpio = <&gpe2 5 GPIO_ACTIVE_HIGH>; 83 enable-active-high; 83 enable-active-high; 84 }; 84 }; 85 85 86 vt_core_15v_reg: regulator-5 { 86 vt_core_15v_reg: regulator-5 { 87 compatible = "regulator-fixed" 87 compatible = "regulator-fixed"; 88 regulator-name = "VT_CORE_1.5V 88 regulator-name = "VT_CORE_1.5V"; 89 regulator-min-microvolt = <150 89 regulator-min-microvolt = <1500000>; 90 regulator-max-microvolt = <150 90 regulator-max-microvolt = <1500000>; 91 gpio = <&gpe2 2 GPIO_ACTIVE_HI 91 gpio = <&gpe2 2 GPIO_ACTIVE_HIGH>; 92 enable-active-high; 92 enable-active-high; 93 }; 93 }; 94 94 95 gpio-keys { 95 gpio-keys { 96 compatible = "gpio-keys"; 96 compatible = "gpio-keys"; 97 97 98 key-vol-down { 98 key-vol-down { 99 gpios = <&gpx2 1 GPIO_ 99 gpios = <&gpx2 1 GPIO_ACTIVE_LOW>; 100 linux,code = <KEY_VOLU 100 linux,code = <KEY_VOLUMEDOWN>; 101 label = "volume down"; 101 label = "volume down"; 102 debounce-interval = <1 102 debounce-interval = <10>; 103 }; 103 }; 104 104 105 key-vol-up { 105 key-vol-up { 106 gpios = <&gpx2 0 GPIO_ 106 gpios = <&gpx2 0 GPIO_ACTIVE_LOW>; 107 linux,code = <KEY_VOLU 107 linux,code = <KEY_VOLUMEUP>; 108 label = "volume up"; 108 label = "volume up"; 109 debounce-interval = <1 109 debounce-interval = <10>; 110 }; 110 }; 111 111 112 key-power { 112 key-power { 113 gpios = <&gpx2 7 GPIO_ 113 gpios = <&gpx2 7 GPIO_ACTIVE_LOW>; 114 linux,code = <KEY_POWE 114 linux,code = <KEY_POWER>; 115 label = "power"; 115 label = "power"; 116 debounce-interval = <1 116 debounce-interval = <10>; 117 wakeup-source; 117 wakeup-source; 118 }; 118 }; 119 119 120 key-ok { 120 key-ok { 121 gpios = <&gpx3 5 GPIO_ 121 gpios = <&gpx3 5 GPIO_ACTIVE_LOW>; 122 linux,code = <KEY_OK>; 122 linux,code = <KEY_OK>; 123 label = "ok"; 123 label = "ok"; 124 debounce-interval = <1 124 debounce-interval = <10>; 125 }; 125 }; 126 }; 126 }; 127 127 128 wlan_pwrseq: sdhci3-pwrseq { 128 wlan_pwrseq: sdhci3-pwrseq { 129 compatible = "mmc-pwrseq-simpl 129 compatible = "mmc-pwrseq-simple"; 130 reset-gpios = <&gpl1 2 GPIO_AC 130 reset-gpios = <&gpl1 2 GPIO_ACTIVE_LOW>; 131 }; 131 }; 132 132 133 i2c_max17042_fuel: i2c-gpio-0 { 133 i2c_max17042_fuel: i2c-gpio-0 { 134 compatible = "i2c-gpio"; 134 compatible = "i2c-gpio"; 135 #address-cells = <1>; 135 #address-cells = <1>; 136 #size-cells = <0>; 136 #size-cells = <0>; 137 137 138 sda-gpios = <&gpy4 0 (GPIO_ACT 138 sda-gpios = <&gpy4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 139 scl-gpios = <&gpy4 1 (GPIO_ACT 139 scl-gpios = <&gpy4 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 140 i2c-gpio,delay-us = <5>; 140 i2c-gpio,delay-us = <5>; 141 141 142 battery@36 { 142 battery@36 { 143 compatible = "maxim,ma 143 compatible = "maxim,max17042"; 144 144 145 interrupt-parent = <&g 145 interrupt-parent = <&gpx2>; 146 interrupts = <3 IRQ_TY 146 interrupts = <3 IRQ_TYPE_LEVEL_LOW>; 147 147 148 pinctrl-0 = <&max17042 148 pinctrl-0 = <&max17042_fuel_irq>; 149 pinctrl-names = "defau 149 pinctrl-names = "default"; 150 150 151 reg = <0x36>; 151 reg = <0x36>; 152 maxim,over-heat-temp = 152 maxim,over-heat-temp = <700>; 153 maxim,over-volt = <450 153 maxim,over-volt = <4500>; 154 }; 154 }; 155 }; 155 }; 156 156 157 i2c_s5k5baf: i2c-gpio-1 { 157 i2c_s5k5baf: i2c-gpio-1 { 158 compatible = "i2c-gpio"; 158 compatible = "i2c-gpio"; 159 #address-cells = <1>; 159 #address-cells = <1>; 160 #size-cells = <0>; 160 #size-cells = <0>; 161 161 162 sda-gpios = <&gpc1 0 (GPIO_ACT 162 sda-gpios = <&gpc1 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 163 scl-gpios = <&gpc1 2 (GPIO_ACT 163 scl-gpios = <&gpc1 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 164 i2c-gpio,delay-us = <2>; 164 i2c-gpio,delay-us = <2>; 165 165 166 image-sensor@2d { 166 image-sensor@2d { 167 compatible = "samsung, 167 compatible = "samsung,s5k5baf"; 168 reg = <0x2d>; 168 reg = <0x2d>; 169 vdda-supply = <&cam_io 169 vdda-supply = <&cam_io_en_reg>; 170 vddreg-supply = <&vt_c 170 vddreg-supply = <&vt_core_15v_reg>; 171 vddio-supply = <&vtcam 171 vddio-supply = <&vtcam_reg>; 172 clocks = <&camera 0>; 172 clocks = <&camera 0>; 173 clock-names = "mclk"; 173 clock-names = "mclk"; 174 stbyn-gpios = <&gpl2 0 174 stbyn-gpios = <&gpl2 0 GPIO_ACTIVE_LOW>; 175 rstn-gpios = <&gpl2 1 175 rstn-gpios = <&gpl2 1 GPIO_ACTIVE_LOW>; 176 clock-frequency = <240 176 clock-frequency = <24000000>; 177 177 178 port { 178 port { 179 s5k5bafx_ep: e 179 s5k5bafx_ep: endpoint { 180 remote 180 remote-endpoint = <&csis1_ep>; 181 data-l 181 data-lanes = <1>; 182 }; 182 }; 183 }; 183 }; 184 }; 184 }; 185 }; 185 }; 186 186 187 i2c-gpio-2 { 187 i2c-gpio-2 { 188 compatible = "i2c-gpio"; 188 compatible = "i2c-gpio"; 189 #address-cells = <1>; 189 #address-cells = <1>; 190 #size-cells = <0>; 190 #size-cells = <0>; 191 191 192 sda-gpios = <&gpk1 2 (GPIO_ACT 192 sda-gpios = <&gpk1 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 193 scl-gpios = <&gpk1 0 (GPIO_ACT 193 scl-gpios = <&gpk1 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 194 i2c-gpio,delay-us = <2>; 194 i2c-gpio,delay-us = <2>; 195 195 196 touchscreen@20 { 196 touchscreen@20 { 197 compatible = "cypress, 197 compatible = "cypress,aries-touchkey"; 198 reg = <0x20>; 198 reg = <0x20>; 199 199 200 interrupt-parent = <&g 200 interrupt-parent = <&gpl0>; 201 interrupts = <5 IRQ_TY 201 interrupts = <5 IRQ_TYPE_EDGE_FALLING>; 202 202 203 vdd-supply = <&vtouchl 203 vdd-supply = <&vtouchled_reg>; 204 vcc-supply = <&vtouch_ 204 vcc-supply = <&vtouch_reg>; 205 linux,keycodes = <KEY_ 205 linux,keycodes = <KEY_MENU>, <KEY_BACK>; 206 }; 206 }; 207 }; 207 }; 208 208 209 spi-3 { 209 spi-3 { 210 compatible = "spi-gpio"; 210 compatible = "spi-gpio"; 211 #address-cells = <1>; 211 #address-cells = <1>; 212 #size-cells = <0>; 212 #size-cells = <0>; 213 213 214 num-chipselects = <1>; 214 num-chipselects = <1>; 215 cs-gpios = <&gpy4 3 GPIO_ACTIV 215 cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>; 216 sck-gpios = <&gpy3 1 GPIO_ACTI 216 sck-gpios = <&gpy3 1 GPIO_ACTIVE_HIGH>; 217 mosi-gpios = <&gpy3 3 GPIO_ACT 217 mosi-gpios = <&gpy3 3 GPIO_ACTIVE_HIGH>; 218 218 219 lcd@0 { 219 lcd@0 { 220 compatible = "samsung, 220 compatible = "samsung,ld9040"; 221 reg = <0>; 221 reg = <0>; 222 222 223 spi-max-frequency = <1 223 spi-max-frequency = <1200000>; 224 224 225 vdd3-supply = <&vmipi_ 225 vdd3-supply = <&vmipi_reg>; 226 vci-supply = <&vcclcd_ 226 vci-supply = <&vcclcd_reg>; 227 227 228 reset-gpios = <&gpy4 5 228 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>; 229 power-on-delay = <10>; 229 power-on-delay = <10>; 230 reset-delay = <10>; 230 reset-delay = <10>; 231 231 232 panel-width-mm = <56>; 232 panel-width-mm = <56>; 233 panel-height-mm = <93> 233 panel-height-mm = <93>; 234 234 235 display-timings { 235 display-timings { 236 timing { 236 timing { 237 clock- 237 clock-frequency = <23492370>; 238 hactiv 238 hactive = <480>; 239 vactiv 239 vactive = <800>; 240 hback- 240 hback-porch = <16>; 241 hfront 241 hfront-porch = <16>; 242 vback- 242 vback-porch = <2>; 243 vfront 243 vfront-porch = <28>; 244 hsync- 244 hsync-len = <2>; 245 vsync- 245 vsync-len = <1>; 246 hsync- 246 hsync-active = <0>; 247 vsync- 247 vsync-active = <0>; 248 de-act 248 de-active = <0>; 249 pixelc 249 pixelclk-active = <0>; 250 }; 250 }; 251 }; 251 }; 252 252 253 port { 253 port { 254 lcd_ep: endpoi 254 lcd_ep: endpoint { 255 remote 255 remote-endpoint = <&fimd_dpi_ep>; 256 }; 256 }; 257 }; 257 }; 258 }; 258 }; 259 }; 259 }; 260 260 261 fixed-rate-clocks { 261 fixed-rate-clocks { 262 xxti { 262 xxti { 263 compatible = "samsung, 263 compatible = "samsung,clock-xxti"; 264 clock-frequency = <0>; 264 clock-frequency = <0>; 265 }; 265 }; 266 266 267 xusbxti { 267 xusbxti { 268 compatible = "samsung, 268 compatible = "samsung,clock-xusbxti"; 269 clock-frequency = <240 269 clock-frequency = <24000000>; 270 }; 270 }; 271 271 272 pmic_ap_clk: pmic-ap-clk { 272 pmic_ap_clk: pmic-ap-clk { 273 /* Workaround for miss 273 /* Workaround for missing clock on max8997 PMIC */ 274 compatible = "fixed-cl 274 compatible = "fixed-clock"; 275 #clock-cells = <0>; 275 #clock-cells = <0>; 276 clock-frequency = <327 276 clock-frequency = <32768>; 277 }; 277 }; 278 }; 278 }; 279 }; 279 }; 280 280 281 &camera { 281 &camera { 282 pinctrl-0 = <&cam_port_a_clk_active>; 282 pinctrl-0 = <&cam_port_a_clk_active>; 283 pinctrl-names = "default"; 283 pinctrl-names = "default"; 284 status = "okay"; 284 status = "okay"; 285 assigned-clocks = <&clock CLK_MOUT_CAM 285 assigned-clocks = <&clock CLK_MOUT_CAM0>, <&clock CLK_MOUT_CAM1>; 286 assigned-clock-parents = <&clock CLK_X 286 assigned-clock-parents = <&clock CLK_XUSBXTI>, <&clock CLK_XUSBXTI>; 287 }; 287 }; 288 288 289 &csis_1 { 289 &csis_1 { 290 status = "okay"; 290 status = "okay"; 291 vddcore-supply = <&vusb_reg>; 291 vddcore-supply = <&vusb_reg>; 292 vddio-supply = <&vmipi_reg>; 292 vddio-supply = <&vmipi_reg>; 293 clock-frequency = <160000000>; 293 clock-frequency = <160000000>; 294 #address-cells = <1>; 294 #address-cells = <1>; 295 #size-cells = <0>; 295 #size-cells = <0>; 296 296 297 port@4 { 297 port@4 { 298 reg = <4>; 298 reg = <4>; 299 csis1_ep: endpoint { 299 csis1_ep: endpoint { 300 remote-endpoint = <&s5 300 remote-endpoint = <&s5k5bafx_ep>; 301 data-lanes = <1>; 301 data-lanes = <1>; 302 samsung,csis-hs-settle 302 samsung,csis-hs-settle = <6>; 303 }; 303 }; 304 }; 304 }; 305 }; 305 }; 306 306 307 &cpu0 { 307 &cpu0 { 308 cpu0-supply = <&varm_breg>; 308 cpu0-supply = <&varm_breg>; 309 }; 309 }; 310 310 311 &cpu_thermal { 311 &cpu_thermal { 312 cooling-maps { 312 cooling-maps { 313 map0 { 313 map0 { 314 /* Corresponds to 800M 314 /* Corresponds to 800MHz */ 315 cooling-device = <&cpu 315 cooling-device = <&cpu0 2 2>; 316 }; 316 }; 317 map1 { 317 map1 { 318 /* Corresponds to 200M 318 /* Corresponds to 200MHz */ 319 cooling-device = <&cpu 319 cooling-device = <&cpu0 4 4>; 320 }; 320 }; 321 }; 321 }; 322 }; 322 }; 323 323 324 &ehci { 324 &ehci { 325 status = "okay"; 325 status = "okay"; 326 326 327 phys = <&exynos_usbphy 1>; 327 phys = <&exynos_usbphy 1>; 328 phy-names = "host"; 328 phy-names = "host"; 329 }; 329 }; 330 330 331 &exynos_usbphy { 331 &exynos_usbphy { 332 status = "okay"; 332 status = "okay"; 333 333 334 vbus-supply = <&safe1_sreg>; 334 vbus-supply = <&safe1_sreg>; 335 }; 335 }; 336 336 337 &fimc_0 { 337 &fimc_0 { 338 status = "okay"; 338 status = "okay"; 339 339 340 assigned-clocks = <&clock CLK_MOUT_FIM 340 assigned-clocks = <&clock CLK_MOUT_FIMC0>, <&clock CLK_SCLK_FIMC0>; 341 assigned-clock-parents = <&clock CLK_S 341 assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 342 assigned-clock-rates = <0>, <160000000 342 assigned-clock-rates = <0>, <160000000>; 343 }; 343 }; 344 344 345 &fimc_1 { 345 &fimc_1 { 346 /* Back camera not implemented */ 346 /* Back camera not implemented */ 347 status = "disabled"; 347 status = "disabled"; 348 348 349 assigned-clocks = <&clock CLK_MOUT_FIM 349 assigned-clocks = <&clock CLK_MOUT_FIMC1>, <&clock CLK_SCLK_FIMC1>; 350 assigned-clock-parents = <&clock CLK_S 350 assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 351 assigned-clock-rates = <0>, <160000000 351 assigned-clock-rates = <0>, <160000000>; 352 }; 352 }; 353 353 354 &fimc_2 { 354 &fimc_2 { 355 status = "okay"; 355 status = "okay"; 356 356 357 assigned-clocks = <&clock CLK_MOUT_FIM 357 assigned-clocks = <&clock CLK_MOUT_FIMC2>, <&clock CLK_SCLK_FIMC2>; 358 assigned-clock-parents = <&clock CLK_S 358 assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 359 assigned-clock-rates = <0>, <160000000 359 assigned-clock-rates = <0>, <160000000>; 360 }; 360 }; 361 361 362 &fimc_3 { 362 &fimc_3 { 363 /* Back camera not implemented */ 363 /* Back camera not implemented */ 364 status = "disabled"; 364 status = "disabled"; 365 365 366 assigned-clocks = <&clock CLK_MOUT_FIM 366 assigned-clocks = <&clock CLK_MOUT_FIMC3>, <&clock CLK_SCLK_FIMC3>; 367 assigned-clock-parents = <&clock CLK_S 367 assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 368 assigned-clock-rates = <0>, <160000000 368 assigned-clock-rates = <0>, <160000000>; 369 }; 369 }; 370 370 371 &fimd { 371 &fimd { 372 status = "okay"; 372 status = "okay"; 373 #address-cells = <1>; 373 #address-cells = <1>; 374 #size-cells = <0>; 374 #size-cells = <0>; 375 375 376 samsung,invert-vden; 376 samsung,invert-vden; 377 samsung,invert-vclk; 377 samsung,invert-vclk; 378 378 379 pinctrl-0 = <&lcd_clk>, <&lcd_data24>; 379 pinctrl-0 = <&lcd_clk>, <&lcd_data24>; 380 pinctrl-names = "default"; 380 pinctrl-names = "default"; 381 381 382 port@3 { 382 port@3 { 383 reg = <3>; 383 reg = <3>; 384 384 385 fimd_dpi_ep: endpoint { 385 fimd_dpi_ep: endpoint { 386 remote-endpoint = <&lc 386 remote-endpoint = <&lcd_ep>; 387 }; 387 }; 388 }; 388 }; 389 }; 389 }; 390 390 391 &gpu { 391 &gpu { 392 status = "okay"; 392 status = "okay"; 393 393 394 mali-supply = <&vg3d_breg>; 394 mali-supply = <&vg3d_breg>; 395 }; 395 }; 396 396 397 &hsotg { 397 &hsotg { 398 status = "okay"; 398 status = "okay"; 399 399 400 dr_mode = "otg"; 400 dr_mode = "otg"; 401 vusb_d-supply = <&vusb_reg>; 401 vusb_d-supply = <&vusb_reg>; 402 vusb_a-supply = <&vusbdac_reg>; 402 vusb_a-supply = <&vusbdac_reg>; 403 }; 403 }; 404 404 405 &i2c_1 { 405 &i2c_1 { 406 status = "okay"; 406 status = "okay"; 407 407 408 samsung,i2c-sda-delay = <100>; 408 samsung,i2c-sda-delay = <100>; 409 samsung,i2c-slave-addr = <0x10>; 409 samsung,i2c-slave-addr = <0x10>; 410 samsung,i2c-max-bus-freq = <100000>; 410 samsung,i2c-max-bus-freq = <100000>; 411 411 412 lis3dh: accelerometer@19 { 412 lis3dh: accelerometer@19 { 413 compatible = "st,lis3dh-accel" 413 compatible = "st,lis3dh-accel"; 414 reg = <0x19>; 414 reg = <0x19>; 415 415 416 mount-matrix = "0", "-1", "0", 416 mount-matrix = "0", "-1", "0", 417 "1", "0", "0", 417 "1", "0", "0", 418 "0", "0", "1"; 418 "0", "0", "1"; 419 }; 419 }; 420 }; 420 }; 421 421 422 &i2c_3 { 422 &i2c_3 { 423 status = "okay"; 423 status = "okay"; 424 424 425 samsung,i2c-sda-delay = <100>; 425 samsung,i2c-sda-delay = <100>; 426 samsung,i2c-slave-addr = <0x10>; 426 samsung,i2c-slave-addr = <0x10>; 427 samsung,i2c-max-bus-freq = <100000>; 427 samsung,i2c-max-bus-freq = <100000>; 428 428 429 pinctrl-0 = <&i2c3_bus>; 429 pinctrl-0 = <&i2c3_bus>; 430 pinctrl-names = "default"; 430 pinctrl-names = "default"; 431 431 432 touchscreen@4a { 432 touchscreen@4a { 433 compatible = "atmel,maxtouch"; 433 compatible = "atmel,maxtouch"; 434 reg = <0x4a>; 434 reg = <0x4a>; 435 435 436 interrupt-parent = <&gpx0>; 436 interrupt-parent = <&gpx0>; 437 interrupts = <4 IRQ_TYPE_EDGE_ 437 interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 438 }; 438 }; 439 }; 439 }; 440 440 441 &i2c_5 { 441 &i2c_5 { 442 status = "okay"; 442 status = "okay"; 443 443 444 samsung,i2c-sda-delay = <100>; 444 samsung,i2c-sda-delay = <100>; 445 samsung,i2c-slave-addr = <0x10>; 445 samsung,i2c-slave-addr = <0x10>; 446 samsung,i2c-max-bus-freq = <100000>; 446 samsung,i2c-max-bus-freq = <100000>; 447 447 448 pinctrl-0 = <&i2c5_bus>; 448 pinctrl-0 = <&i2c5_bus>; 449 pinctrl-names = "default"; 449 pinctrl-names = "default"; 450 450 451 pmic@66 { 451 pmic@66 { 452 compatible = "maxim,max8997-pm 452 compatible = "maxim,max8997-pmic"; 453 reg = <0x66>; 453 reg = <0x66>; 454 454 455 interrupts-extended = <&gpx0 7 455 interrupts-extended = <&gpx0 7 IRQ_TYPE_NONE>, 456 <&gpx2 3 456 <&gpx2 3 IRQ_TYPE_EDGE_FALLING>; 457 457 458 max8997,pmic-buck1-uses-gpio-d 458 max8997,pmic-buck1-uses-gpio-dvs; 459 max8997,pmic-buck2-uses-gpio-d 459 max8997,pmic-buck2-uses-gpio-dvs; 460 max8997,pmic-buck5-uses-gpio-d 460 max8997,pmic-buck5-uses-gpio-dvs; 461 461 462 max8997,pmic-ignore-gpiodvs-si 462 max8997,pmic-ignore-gpiodvs-side-effect; 463 max8997,pmic-buck125-default-d 463 max8997,pmic-buck125-default-dvs-idx = <0>; 464 464 465 max8997,pmic-buck125-dvs-gpios 465 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>, 466 466 <&gpx0 6 GPIO_ACTIVE_HIGH>, 467 467 <&gpl0 0 GPIO_ACTIVE_HIGH>; 468 468 469 max8997,pmic-buck1-dvs-voltage 469 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>, 470 470 <1250000>, <1200000>, 471 471 <1150000>, <1100000>, 472 472 <1000000>, <950000>; 473 473 474 max8997,pmic-buck2-dvs-voltage 474 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>, 475 475 <950000>, <900000>, 476 476 <1100000>, <1000000>, 477 477 <950000>, <900000>; 478 478 479 max8997,pmic-buck5-dvs-voltage 479 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>, 480 480 <1200000>, <1200000>, 481 481 <1200000>, <1200000>, 482 482 <1200000>, <1200000>; 483 483 484 pinctrl-0 = <&max8997_irq>, <& 484 pinctrl-0 = <&max8997_irq>, <&otg_gp>, <&usb_sel>; 485 pinctrl-names = "default"; 485 pinctrl-names = "default"; 486 486 487 charger-supply = <&charger_reg 487 charger-supply = <&charger_reg>; 488 488 489 regulators { 489 regulators { 490 vadc_reg: LDO1 { 490 vadc_reg: LDO1 { 491 regulator-name 491 regulator-name = "VADC_3.3V_C210"; 492 regulator-min- 492 regulator-min-microvolt = <3300000>; 493 regulator-max- 493 regulator-max-microvolt = <3300000>; 494 regulator-alwa 494 regulator-always-on; 495 495 496 }; 496 }; 497 valive_reg: LDO2 { 497 valive_reg: LDO2 { 498 regulator-name 498 regulator-name = "VALIVE_1.1V_C210"; 499 regulator-min- 499 regulator-min-microvolt = <1100000>; 500 regulator-max- 500 regulator-max-microvolt = <1100000>; 501 regulator-alwa 501 regulator-always-on; 502 502 503 }; 503 }; 504 504 505 vusb_reg: LDO3 { 505 vusb_reg: LDO3 { 506 regulator-name 506 regulator-name = "VUSB_1.1V_C210"; 507 regulator-min- 507 regulator-min-microvolt = <1100000>; 508 regulator-max- 508 regulator-max-microvolt = <1100000>; 509 }; 509 }; 510 510 511 vmipi_reg: LDO4 { 511 vmipi_reg: LDO4 { 512 regulator-name 512 regulator-name = "VMIPI_1.8V"; 513 regulator-min- 513 regulator-min-microvolt = <1800000>; 514 regulator-max- 514 regulator-max-microvolt = <1800000>; 515 regulator-alwa 515 regulator-always-on; 516 }; 516 }; 517 517 518 vhsic_reg: LDO5 { 518 vhsic_reg: LDO5 { 519 regulator-name 519 regulator-name = "VHSIC_1.2V"; 520 regulator-min- 520 regulator-min-microvolt = <1200000>; 521 regulator-max- 521 regulator-max-microvolt = <1200000>; 522 regulator-alwa 522 regulator-always-on; 523 }; 523 }; 524 524 525 vpda_reg: LDO6 { 525 vpda_reg: LDO6 { 526 regulator-name 526 regulator-name = "VCC_1.8V_PDA"; 527 regulator-min- 527 regulator-min-microvolt = <1800000>; 528 regulator-max- 528 regulator-max-microvolt = <1800000>; 529 regulator-alwa 529 regulator-always-on; 530 }; 530 }; 531 531 532 vcam_reg: LDO7 { 532 vcam_reg: LDO7 { 533 regulator-name 533 regulator-name = "CAM_ISP_1.8V"; 534 regulator-min- 534 regulator-min-microvolt = <1800000>; 535 regulator-max- 535 regulator-max-microvolt = <1800000>; 536 }; 536 }; 537 537 538 vusbdac_reg: LDO8 { 538 vusbdac_reg: LDO8 { 539 regulator-name 539 regulator-name = "VUSB+VDAC_3.3V_C210"; 540 regulator-min- 540 regulator-min-microvolt = <3300000>; 541 regulator-max- 541 regulator-max-microvolt = <3300000>; 542 }; 542 }; 543 543 544 vccpda_reg: LDO9 { 544 vccpda_reg: LDO9 { 545 regulator-name 545 regulator-name = "VCC_2.8V_PDA"; 546 regulator-min- 546 regulator-min-microvolt = <2800000>; 547 regulator-max- 547 regulator-max-microvolt = <2800000>; 548 regulator-alwa 548 regulator-always-on; 549 }; 549 }; 550 550 551 vtouch_reg: LDO11 { 551 vtouch_reg: LDO11 { 552 regulator-name 552 regulator-name = "TOUCH_2.8V"; 553 regulator-min- 553 regulator-min-microvolt = <2800000>; 554 regulator-max- 554 regulator-max-microvolt = <2800000>; 555 }; 555 }; 556 556 557 vpll_reg: LDO10 { 557 vpll_reg: LDO10 { 558 regulator-name 558 regulator-name = "VPLL_1.1V"; 559 regulator-min- 559 regulator-min-microvolt = <1100000>; 560 regulator-max- 560 regulator-max-microvolt = <1100000>; 561 regulator-alwa 561 regulator-always-on; 562 }; 562 }; 563 563 564 vtcam_reg: LDO12 { 564 vtcam_reg: LDO12 { 565 regulator-name 565 regulator-name = "VT_CAM_1.8V"; 566 regulator-min- 566 regulator-min-microvolt = <1800000>; 567 regulator-max- 567 regulator-max-microvolt = <1800000>; 568 568 569 /* 569 /* 570 * Force-enabl 570 * Force-enable this regulator; otherwise the 571 * kernel hang 571 * kernel hangs very early in the boot process 572 * for about 1 572 * for about 12 seconds, without apparent 573 * reason. 573 * reason. 574 */ 574 */ 575 regulator-alwa 575 regulator-always-on; 576 }; 576 }; 577 577 578 vcclcd_reg: LDO13 { 578 vcclcd_reg: LDO13 { 579 regulator-name 579 regulator-name = "VCC_3.0V_LCD"; 580 regulator-min- 580 regulator-min-microvolt = <3000000>; 581 regulator-max- 581 regulator-max-microvolt = <3000000>; 582 }; 582 }; 583 583 584 vmotor_reg: LDO14 { 584 vmotor_reg: LDO14 { 585 regulator-name 585 regulator-name = "VCC_2.8V_MOTOR"; 586 regulator-min- 586 regulator-min-microvolt = <2800000>; 587 regulator-max- 587 regulator-max-microvolt = <2800000>; 588 }; 588 }; 589 589 590 vled_reg: LDO15 { 590 vled_reg: LDO15 { 591 regulator-name 591 regulator-name = "LED_A_2.8V"; 592 regulator-min- 592 regulator-min-microvolt = <2800000>; 593 regulator-max- 593 regulator-max-microvolt = <2800000>; 594 }; 594 }; 595 595 596 camsensor_reg: LDO16 { 596 camsensor_reg: LDO16 { 597 regulator-name 597 regulator-name = "CAM_SENSOR_IO_1.8V"; 598 regulator-min- 598 regulator-min-microvolt = <1800000>; 599 regulator-max- 599 regulator-max-microvolt = <1800000>; 600 }; 600 }; 601 601 602 vtf_reg: LDO17 { 602 vtf_reg: LDO17 { 603 regulator-name 603 regulator-name = "VTF_2.8V"; 604 regulator-min- 604 regulator-min-microvolt = <2800000>; 605 regulator-max- 605 regulator-max-microvolt = <2800000>; 606 }; 606 }; 607 607 608 vtouchled_reg: LDO18 { 608 vtouchled_reg: LDO18 { 609 regulator-name 609 regulator-name = "TOUCH_LED_3.3V"; 610 regulator-min- 610 regulator-min-microvolt = <2500000>; 611 regulator-max- 611 regulator-max-microvolt = <3300000>; 612 }; 612 }; 613 613 614 vddq_reg: LDO21 { 614 vddq_reg: LDO21 { 615 regulator-name 615 regulator-name = "VDDQ_M1M2_1.2V"; 616 regulator-min- 616 regulator-min-microvolt = <1200000>; 617 regulator-max- 617 regulator-max-microvolt = <1200000>; 618 regulator-alwa 618 regulator-always-on; 619 }; 619 }; 620 620 621 varm_breg: BUCK1 { 621 varm_breg: BUCK1 { 622 regulator-name 622 regulator-name = "VARM_1.2V_C210"; 623 regulator-min- 623 regulator-min-microvolt = <65000>; 624 regulator-max- 624 regulator-max-microvolt = <2225000>; 625 regulator-alwa 625 regulator-always-on; 626 }; 626 }; 627 627 628 vint_breg: BUCK2 { 628 vint_breg: BUCK2 { 629 regulator-name 629 regulator-name = "VINT_1.1V_C210"; 630 regulator-min- 630 regulator-min-microvolt = <65000>; 631 regulator-max- 631 regulator-max-microvolt = <2225000>; 632 regulator-alwa 632 regulator-always-on; 633 }; 633 }; 634 634 635 vg3d_breg: BUCK3 { 635 vg3d_breg: BUCK3 { 636 regulator-name 636 regulator-name = "G3D_1.1V"; 637 regulator-min- 637 regulator-min-microvolt = <900000>; 638 regulator-max- 638 regulator-max-microvolt = <1200000>; 639 regulator-micr 639 regulator-microvolt-offset = <50000>; 640 regulator-alwa 640 regulator-always-on; 641 }; 641 }; 642 642 643 camisp_breg: BUCK4 { 643 camisp_breg: BUCK4 { 644 regulator-name 644 regulator-name = "CAM_ISP_CORE_1.2V"; 645 regulator-min- 645 regulator-min-microvolt = <1200000>; 646 regulator-max- 646 regulator-max-microvolt = <1200000>; 647 }; 647 }; 648 648 649 vmem_breg: BUCK5 { 649 vmem_breg: BUCK5 { 650 regulator-name 650 regulator-name = "VMEM_1.2V"; 651 regulator-min- 651 regulator-min-microvolt = <1200000>; 652 regulator-max- 652 regulator-max-microvolt = <1200000>; 653 regulator-alwa 653 regulator-always-on; 654 }; 654 }; 655 655 656 vccsub_breg: BUCK7 { 656 vccsub_breg: BUCK7 { 657 regulator-name 657 regulator-name = "VCC_SUB_2.0V"; 658 regulator-min- 658 regulator-min-microvolt = <2000000>; 659 regulator-max- 659 regulator-max-microvolt = <2000000>; 660 regulator-alwa 660 regulator-always-on; 661 }; 661 }; 662 662 663 safe1_sreg: ESAFEOUT1 663 safe1_sreg: ESAFEOUT1 { 664 regulator-name 664 regulator-name = "SAFEOUT1"; 665 }; 665 }; 666 666 667 safe2_sreg: ESAFEOUT2 667 safe2_sreg: ESAFEOUT2 { 668 regulator-name 668 regulator-name = "SAFEOUT2"; 669 regulator-boot 669 regulator-boot-on; 670 }; 670 }; 671 671 672 EN32KHZ_AP { 672 EN32KHZ_AP { 673 regulator-name 673 regulator-name = "EN32KHZ_AP"; 674 regulator-alwa 674 regulator-always-on; 675 }; 675 }; 676 676 677 EN32KHZ_CP { 677 EN32KHZ_CP { 678 regulator-name 678 regulator-name = "EN32KHZ_CP"; 679 regulator-alwa 679 regulator-always-on; 680 }; 680 }; 681 681 682 charger_reg: CHARGER { 682 charger_reg: CHARGER { 683 regulator-name 683 regulator-name = "CHARGER"; 684 regulator-min- 684 regulator-min-microamp = <200000>; 685 regulator-max- 685 regulator-max-microamp = <950000>; 686 }; 686 }; 687 687 688 chargercv_reg: CHARGER 688 chargercv_reg: CHARGER_CV { 689 regulator-name 689 regulator-name = "CHARGER_CV"; 690 regulator-min- 690 regulator-min-microvolt = <4200000>; 691 regulator-max- 691 regulator-max-microvolt = <4200000>; 692 regulator-alwa 692 regulator-always-on; 693 }; 693 }; 694 694 695 CHARGER_TOPOFF { 695 CHARGER_TOPOFF { 696 regulator-name 696 regulator-name = "CHARGER_TOPOFF"; 697 regulator-min- 697 regulator-min-microamp = <200000>; 698 regulator-max- 698 regulator-max-microamp = <200000>; 699 regulator-alwa 699 regulator-always-on; 700 }; 700 }; 701 }; 701 }; 702 }; 702 }; 703 }; 703 }; 704 704 705 &i2c_7 { 705 &i2c_7 { 706 status = "okay"; 706 status = "okay"; 707 707 708 samsung,i2c-sda-delay = <100>; 708 samsung,i2c-sda-delay = <100>; 709 samsung,i2c-slave-addr = <0x10>; 709 samsung,i2c-slave-addr = <0x10>; 710 samsung,i2c-max-bus-freq = <400000>; 710 samsung,i2c-max-bus-freq = <400000>; 711 711 712 pinctrl-0 = <&i2c7_bus>; 712 pinctrl-0 = <&i2c7_bus>; 713 pinctrl-names = "default"; 713 pinctrl-names = "default"; 714 714 715 magnetometer@c { 715 magnetometer@c { 716 compatible = "asahi-kasei,ak89 716 compatible = "asahi-kasei,ak8975"; 717 reg = <0x0c>; 717 reg = <0x0c>; 718 718 719 gpios = <&gpx2 2 GPIO_ACTIVE_H 719 gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>; 720 }; 720 }; 721 }; 721 }; 722 722 723 &pinctrl_0 { 723 &pinctrl_0 { 724 pinctrl-names = "default"; 724 pinctrl-names = "default"; 725 pinctrl-0 = <&sleep0>; 725 pinctrl-0 = <&sleep0>; 726 726 727 sleep0: sleep-state { 727 sleep0: sleep-state { 728 gpa0-0-pin { 728 gpa0-0-pin { 729 samsung,pins = "gpa0-0 729 samsung,pins = "gpa0-0"; 730 samsung,pin-con-pdn = 730 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>; 731 samsung,pin-pud-pdn = 731 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 732 }; 732 }; 733 733 734 gpa0-1-pin { 734 gpa0-1-pin { 735 samsung,pins = "gpa0-1 735 samsung,pins = "gpa0-1"; 736 samsung,pin-con-pdn = 736 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT0>; 737 samsung,pin-pud-pdn = 737 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 738 }; 738 }; 739 739 740 gpa0-2-pin { 740 gpa0-2-pin { 741 samsung,pins = "gpa0-2 741 samsung,pins = "gpa0-2"; 742 samsung,pin-con-pdn = 742 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>; 743 samsung,pin-pud-pdn = 743 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 744 }; 744 }; 745 745 746 gpa0-3-pin { 746 gpa0-3-pin { 747 samsung,pins = "gpa0-3 747 samsung,pins = "gpa0-3"; 748 samsung,pin-con-pdn = 748 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>; 749 samsung,pin-pud-pdn = 749 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 750 }; 750 }; 751 }; 751 }; 752 }; 752 }; 753 753 754 &pinctrl_1 { 754 &pinctrl_1 { 755 mhl_int: mhl-int-pins { 755 mhl_int: mhl-int-pins { 756 samsung,pins = "gpf3-5"; 756 samsung,pins = "gpf3-5"; 757 samsung,pin-pud = <EXYNOS_PIN_ 757 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 758 }; 758 }; 759 759 760 i2c_mhl_bus: i2c-mhl-bus-pins { 760 i2c_mhl_bus: i2c-mhl-bus-pins { 761 samsung,pins = "gpf0-4", "gpf0 761 samsung,pins = "gpf0-4", "gpf0-6"; 762 samsung,pin-function = <EXYNOS 762 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 763 samsung,pin-pud = <EXYNOS_PIN_ 763 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 764 samsung,pin-drv = <EXYNOS4_PIN 764 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 765 }; 765 }; 766 766 767 usb_sel: usb-sel-pins { 767 usb_sel: usb-sel-pins { 768 samsung,pins = "gpl0-6"; 768 samsung,pins = "gpl0-6"; 769 samsung,pin-function = <EXYNOS 769 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 770 samsung,pin-pud = <EXYNOS_PIN_ 770 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 771 samsung,pin-drv = <EXYNOS4_PIN 771 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 772 samsung,pin-val = <0>; 772 samsung,pin-val = <0>; 773 }; 773 }; 774 774 775 bt_en: bt-en-pins { 775 bt_en: bt-en-pins { 776 samsung,pins = "gpl0-4"; 776 samsung,pins = "gpl0-4"; 777 samsung,pin-function = <EXYNOS 777 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 778 samsung,pin-pud = <EXYNOS_PIN_ 778 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 779 samsung,pin-drv = <EXYNOS4_PIN 779 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; 780 samsung,pin-val = <0>; 780 samsung,pin-val = <0>; 781 }; 781 }; 782 782 783 bt_res: bt-res-pins { 783 bt_res: bt-res-pins { 784 samsung,pins = "gpl1-0"; 784 samsung,pins = "gpl1-0"; 785 samsung,pin-function = <EXYNOS 785 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 786 samsung,pin-pud = <EXYNOS_PIN_ 786 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 787 samsung,pin-drv = <EXYNOS4_PIN 787 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; 788 samsung,pin-val = <0>; 788 samsung,pin-val = <0>; 789 }; 789 }; 790 790 791 otg_gp: otg-gp-pins { 791 otg_gp: otg-gp-pins { 792 samsung,pins = "gpx3-3"; 792 samsung,pins = "gpx3-3"; 793 samsung,pin-function = <EXYNOS 793 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 794 samsung,pin-pud = <EXYNOS_PIN_ 794 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 795 samsung,pin-drv = <EXYNOS4_PIN 795 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 796 samsung,pin-val = <0>; 796 samsung,pin-val = <0>; 797 }; 797 }; 798 798 799 mag_mhl_gpio: mag-mhl-pins { 799 mag_mhl_gpio: mag-mhl-pins { 800 samsung,pins = "gpd0-2"; 800 samsung,pins = "gpd0-2"; 801 samsung,pin-function = <EXYNOS 801 samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 802 samsung,pin-pud = <EXYNOS_PIN_ 802 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 803 }; 803 }; 804 804 805 max8997_irq: max8997-irq-pins { 805 max8997_irq: max8997-irq-pins { 806 samsung,pins = "gpx0-7"; 806 samsung,pins = "gpx0-7"; 807 samsung,pin-pud = <EXYNOS_PIN_ 807 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 808 }; 808 }; 809 809 810 max17042_fuel_irq: max17042-fuel-irq-p 810 max17042_fuel_irq: max17042-fuel-irq-pins { 811 samsung,pins = "gpx2-3"; 811 samsung,pins = "gpx2-3"; 812 samsung,pin-pud = <EXYNOS_PIN_ 812 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 813 }; 813 }; 814 814 815 tsp224_irq: tsp224-irq-pins { 815 tsp224_irq: tsp224-irq-pins { 816 samsung,pins = "gpx0-4"; 816 samsung,pins = "gpx0-4"; 817 samsung,pin-pud = <EXYNOS_PIN_ 817 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 818 }; 818 }; 819 }; 819 }; 820 820 821 &rtc { 821 &rtc { 822 status = "okay"; 822 status = "okay"; 823 clocks = <&clock CLK_RTC>, <&pmic_ap_c 823 clocks = <&clock CLK_RTC>, <&pmic_ap_clk>; 824 clock-names = "rtc", "rtc_src"; 824 clock-names = "rtc", "rtc_src"; 825 }; 825 }; 826 826 827 &sdhci_0 { 827 &sdhci_0 { 828 status = "okay"; 828 status = "okay"; 829 829 830 bus-width = <8>; 830 bus-width = <8>; 831 non-removable; 831 non-removable; 832 vmmc-supply = <&vemmc_reg>; 832 vmmc-supply = <&vemmc_reg>; 833 833 834 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <& 834 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_bus8>; 835 pinctrl-names = "default"; 835 pinctrl-names = "default"; 836 }; 836 }; 837 837 838 &sdhci_2 { 838 &sdhci_2 { 839 status = "okay"; 839 status = "okay"; 840 840 841 bus-width = <4>; 841 bus-width = <4>; 842 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; 842 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; 843 vmmc-supply = <&vtf_reg>; 843 vmmc-supply = <&vtf_reg>; 844 844 845 pinctrl-0 = <&sd2_clk>, <&sd2_cmd>, <& 845 pinctrl-0 = <&sd2_clk>, <&sd2_cmd>, <&sd2_bus4>; 846 pinctrl-names = "default"; 846 pinctrl-names = "default"; 847 }; 847 }; 848 848 849 &sdhci_3 { 849 &sdhci_3 { 850 status = "okay"; 850 status = "okay"; 851 851 852 #address-cells = <1>; 852 #address-cells = <1>; 853 #size-cells = <0>; 853 #size-cells = <0>; 854 854 855 non-removable; 855 non-removable; 856 bus-width = <4>; 856 bus-width = <4>; 857 mmc-pwrseq = <&wlan_pwrseq>; 857 mmc-pwrseq = <&wlan_pwrseq>; 858 vmmc-supply = <&vtf_reg>; 858 vmmc-supply = <&vtf_reg>; 859 859 860 pinctrl-names = "default"; 860 pinctrl-names = "default"; 861 pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <& 861 pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>; 862 862 863 brcmf: wifi@1 { 863 brcmf: wifi@1 { 864 compatible = "brcm,bcm4330-fma 864 compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac"; 865 reg = <1>; 865 reg = <1>; 866 866 867 interrupt-parent = <&gpx2>; 867 interrupt-parent = <&gpx2>; 868 interrupts = <5 IRQ_TYPE_LEVEL 868 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; 869 interrupt-names = "host-wake"; 869 interrupt-names = "host-wake"; 870 }; 870 }; 871 }; 871 }; 872 872 873 &serial_0 { 873 &serial_0 { 874 status = "okay"; 874 status = "okay"; 875 875 876 pinctrl-names = "default"; 876 pinctrl-names = "default"; 877 pinctrl-0 = <&bt_en>, <&bt_res>, <&uar 877 pinctrl-0 = <&bt_en>, <&bt_res>, <&uart0_data>, <&uart0_fctl>; 878 878 879 bluetooth { 879 bluetooth { 880 compatible = "brcm,bcm4330-bt" 880 compatible = "brcm,bcm4330-bt"; 881 881 882 shutdown-gpios = <&gpl0 4 GPIO 882 shutdown-gpios = <&gpl0 4 GPIO_ACTIVE_HIGH>; 883 reset-gpios = <&gpl1 0 GPIO_AC 883 reset-gpios = <&gpl1 0 GPIO_ACTIVE_LOW>; 884 device-wakeup-gpios = <&gpx3 1 884 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>; 885 885 886 interrupt-parent = <&gpx2>; 886 interrupt-parent = <&gpx2>; 887 interrupts = <6 IRQ_TYPE_EDGE_ 887 interrupts = <6 IRQ_TYPE_EDGE_FALLING>; 888 interrupt-names = "host-wakeup 888 interrupt-names = "host-wakeup"; 889 }; 889 }; 890 }; 890 }; 891 891 892 &serial_1 { 892 &serial_1 { 893 status = "okay"; 893 status = "okay"; 894 }; 894 }; 895 895 896 &serial_2 { 896 &serial_2 { 897 status = "okay"; 897 status = "okay"; 898 }; 898 }; 899 899 900 &serial_3 { 900 &serial_3 { 901 status = "okay"; 901 status = "okay"; 902 }; 902 }; 903 903 904 &tmu { 904 &tmu { 905 status = "okay"; 905 status = "okay"; 906 }; 906 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.