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 { << 188 compatible = "i2c-gpio"; << 189 #address-cells = <1>; << 190 #size-cells = <0>; << 191 << 192 sda-gpios = <&gpk1 2 (GPIO_ACT << 193 scl-gpios = <&gpk1 0 (GPIO_ACT << 194 i2c-gpio,delay-us = <2>; << 195 << 196 touchscreen@20 { << 197 compatible = "cypress, << 198 reg = <0x20>; << 199 << 200 interrupt-parent = <&g << 201 interrupts = <5 IRQ_TY << 202 << 203 vdd-supply = <&vtouchl << 204 vcc-supply = <&vtouch_ << 205 linux,keycodes = <KEY_ << 206 }; << 207 }; << 208 << 209 spi-3 { 187 spi-3 { 210 compatible = "spi-gpio"; 188 compatible = "spi-gpio"; 211 #address-cells = <1>; 189 #address-cells = <1>; 212 #size-cells = <0>; 190 #size-cells = <0>; 213 191 214 num-chipselects = <1>; 192 num-chipselects = <1>; 215 cs-gpios = <&gpy4 3 GPIO_ACTIV 193 cs-gpios = <&gpy4 3 GPIO_ACTIVE_LOW>; 216 sck-gpios = <&gpy3 1 GPIO_ACTI 194 sck-gpios = <&gpy3 1 GPIO_ACTIVE_HIGH>; 217 mosi-gpios = <&gpy3 3 GPIO_ACT 195 mosi-gpios = <&gpy3 3 GPIO_ACTIVE_HIGH>; 218 196 219 lcd@0 { 197 lcd@0 { 220 compatible = "samsung, 198 compatible = "samsung,ld9040"; 221 reg = <0>; 199 reg = <0>; 222 200 223 spi-max-frequency = <1 201 spi-max-frequency = <1200000>; 224 202 225 vdd3-supply = <&vmipi_ 203 vdd3-supply = <&vmipi_reg>; 226 vci-supply = <&vcclcd_ 204 vci-supply = <&vcclcd_reg>; 227 205 228 reset-gpios = <&gpy4 5 206 reset-gpios = <&gpy4 5 GPIO_ACTIVE_HIGH>; 229 power-on-delay = <10>; 207 power-on-delay = <10>; 230 reset-delay = <10>; 208 reset-delay = <10>; 231 209 232 panel-width-mm = <56>; 210 panel-width-mm = <56>; 233 panel-height-mm = <93> 211 panel-height-mm = <93>; 234 212 235 display-timings { 213 display-timings { 236 timing { 214 timing { 237 clock- 215 clock-frequency = <23492370>; 238 hactiv 216 hactive = <480>; 239 vactiv 217 vactive = <800>; 240 hback- 218 hback-porch = <16>; 241 hfront 219 hfront-porch = <16>; 242 vback- 220 vback-porch = <2>; 243 vfront 221 vfront-porch = <28>; 244 hsync- 222 hsync-len = <2>; 245 vsync- 223 vsync-len = <1>; 246 hsync- 224 hsync-active = <0>; 247 vsync- 225 vsync-active = <0>; 248 de-act 226 de-active = <0>; 249 pixelc 227 pixelclk-active = <0>; 250 }; 228 }; 251 }; 229 }; 252 230 253 port { 231 port { 254 lcd_ep: endpoi 232 lcd_ep: endpoint { 255 remote 233 remote-endpoint = <&fimd_dpi_ep>; 256 }; 234 }; 257 }; 235 }; 258 }; 236 }; 259 }; 237 }; 260 238 261 fixed-rate-clocks { 239 fixed-rate-clocks { 262 xxti { 240 xxti { 263 compatible = "samsung, 241 compatible = "samsung,clock-xxti"; 264 clock-frequency = <0>; 242 clock-frequency = <0>; 265 }; 243 }; 266 244 267 xusbxti { 245 xusbxti { 268 compatible = "samsung, 246 compatible = "samsung,clock-xusbxti"; 269 clock-frequency = <240 247 clock-frequency = <24000000>; 270 }; 248 }; 271 249 272 pmic_ap_clk: pmic-ap-clk { 250 pmic_ap_clk: pmic-ap-clk { 273 /* Workaround for miss 251 /* Workaround for missing clock on max8997 PMIC */ 274 compatible = "fixed-cl 252 compatible = "fixed-clock"; 275 #clock-cells = <0>; 253 #clock-cells = <0>; 276 clock-frequency = <327 254 clock-frequency = <32768>; 277 }; 255 }; 278 }; 256 }; 279 }; 257 }; 280 258 281 &camera { 259 &camera { 282 pinctrl-0 = <&cam_port_a_clk_active>; 260 pinctrl-0 = <&cam_port_a_clk_active>; 283 pinctrl-names = "default"; 261 pinctrl-names = "default"; 284 status = "okay"; 262 status = "okay"; 285 assigned-clocks = <&clock CLK_MOUT_CAM 263 assigned-clocks = <&clock CLK_MOUT_CAM0>, <&clock CLK_MOUT_CAM1>; 286 assigned-clock-parents = <&clock CLK_X 264 assigned-clock-parents = <&clock CLK_XUSBXTI>, <&clock CLK_XUSBXTI>; 287 }; 265 }; 288 266 289 &csis_1 { 267 &csis_1 { 290 status = "okay"; 268 status = "okay"; 291 vddcore-supply = <&vusb_reg>; 269 vddcore-supply = <&vusb_reg>; 292 vddio-supply = <&vmipi_reg>; 270 vddio-supply = <&vmipi_reg>; 293 clock-frequency = <160000000>; 271 clock-frequency = <160000000>; 294 #address-cells = <1>; 272 #address-cells = <1>; 295 #size-cells = <0>; 273 #size-cells = <0>; 296 274 297 port@4 { 275 port@4 { 298 reg = <4>; 276 reg = <4>; 299 csis1_ep: endpoint { 277 csis1_ep: endpoint { 300 remote-endpoint = <&s5 278 remote-endpoint = <&s5k5bafx_ep>; 301 data-lanes = <1>; 279 data-lanes = <1>; 302 samsung,csis-hs-settle 280 samsung,csis-hs-settle = <6>; 303 }; 281 }; 304 }; 282 }; 305 }; 283 }; 306 284 307 &cpu0 { 285 &cpu0 { 308 cpu0-supply = <&varm_breg>; 286 cpu0-supply = <&varm_breg>; 309 }; 287 }; 310 288 311 &cpu_thermal { 289 &cpu_thermal { 312 cooling-maps { 290 cooling-maps { 313 map0 { 291 map0 { 314 /* Corresponds to 800M 292 /* Corresponds to 800MHz */ 315 cooling-device = <&cpu 293 cooling-device = <&cpu0 2 2>; 316 }; 294 }; 317 map1 { 295 map1 { 318 /* Corresponds to 200M 296 /* Corresponds to 200MHz */ 319 cooling-device = <&cpu 297 cooling-device = <&cpu0 4 4>; 320 }; 298 }; 321 }; 299 }; 322 }; 300 }; 323 301 324 &ehci { 302 &ehci { 325 status = "okay"; 303 status = "okay"; 326 304 327 phys = <&exynos_usbphy 1>; 305 phys = <&exynos_usbphy 1>; 328 phy-names = "host"; 306 phy-names = "host"; 329 }; 307 }; 330 308 331 &exynos_usbphy { 309 &exynos_usbphy { 332 status = "okay"; 310 status = "okay"; 333 311 334 vbus-supply = <&safe1_sreg>; 312 vbus-supply = <&safe1_sreg>; 335 }; 313 }; 336 314 337 &fimc_0 { 315 &fimc_0 { 338 status = "okay"; 316 status = "okay"; 339 317 340 assigned-clocks = <&clock CLK_MOUT_FIM 318 assigned-clocks = <&clock CLK_MOUT_FIMC0>, <&clock CLK_SCLK_FIMC0>; 341 assigned-clock-parents = <&clock CLK_S 319 assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 342 assigned-clock-rates = <0>, <160000000 320 assigned-clock-rates = <0>, <160000000>; 343 }; 321 }; 344 322 345 &fimc_1 { 323 &fimc_1 { 346 /* Back camera not implemented */ 324 /* Back camera not implemented */ 347 status = "disabled"; 325 status = "disabled"; 348 326 349 assigned-clocks = <&clock CLK_MOUT_FIM 327 assigned-clocks = <&clock CLK_MOUT_FIMC1>, <&clock CLK_SCLK_FIMC1>; 350 assigned-clock-parents = <&clock CLK_S 328 assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 351 assigned-clock-rates = <0>, <160000000 329 assigned-clock-rates = <0>, <160000000>; 352 }; 330 }; 353 331 354 &fimc_2 { 332 &fimc_2 { 355 status = "okay"; 333 status = "okay"; 356 334 357 assigned-clocks = <&clock CLK_MOUT_FIM 335 assigned-clocks = <&clock CLK_MOUT_FIMC2>, <&clock CLK_SCLK_FIMC2>; 358 assigned-clock-parents = <&clock CLK_S 336 assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 359 assigned-clock-rates = <0>, <160000000 337 assigned-clock-rates = <0>, <160000000>; 360 }; 338 }; 361 339 362 &fimc_3 { 340 &fimc_3 { 363 /* Back camera not implemented */ 341 /* Back camera not implemented */ 364 status = "disabled"; 342 status = "disabled"; 365 343 366 assigned-clocks = <&clock CLK_MOUT_FIM 344 assigned-clocks = <&clock CLK_MOUT_FIMC3>, <&clock CLK_SCLK_FIMC3>; 367 assigned-clock-parents = <&clock CLK_S 345 assigned-clock-parents = <&clock CLK_SCLK_MPLL>; 368 assigned-clock-rates = <0>, <160000000 346 assigned-clock-rates = <0>, <160000000>; 369 }; 347 }; 370 348 371 &fimd { 349 &fimd { 372 status = "okay"; 350 status = "okay"; 373 #address-cells = <1>; 351 #address-cells = <1>; 374 #size-cells = <0>; 352 #size-cells = <0>; 375 353 376 samsung,invert-vden; 354 samsung,invert-vden; 377 samsung,invert-vclk; 355 samsung,invert-vclk; 378 356 379 pinctrl-0 = <&lcd_clk>, <&lcd_data24>; 357 pinctrl-0 = <&lcd_clk>, <&lcd_data24>; 380 pinctrl-names = "default"; 358 pinctrl-names = "default"; 381 359 382 port@3 { 360 port@3 { 383 reg = <3>; 361 reg = <3>; 384 362 385 fimd_dpi_ep: endpoint { 363 fimd_dpi_ep: endpoint { 386 remote-endpoint = <&lc 364 remote-endpoint = <&lcd_ep>; 387 }; 365 }; 388 }; 366 }; 389 }; 367 }; 390 368 391 &gpu { 369 &gpu { 392 status = "okay"; 370 status = "okay"; 393 371 394 mali-supply = <&vg3d_breg>; 372 mali-supply = <&vg3d_breg>; 395 }; 373 }; 396 374 397 &hsotg { 375 &hsotg { 398 status = "okay"; 376 status = "okay"; 399 377 400 dr_mode = "otg"; 378 dr_mode = "otg"; 401 vusb_d-supply = <&vusb_reg>; 379 vusb_d-supply = <&vusb_reg>; 402 vusb_a-supply = <&vusbdac_reg>; 380 vusb_a-supply = <&vusbdac_reg>; 403 }; 381 }; 404 382 405 &i2c_1 { << 406 status = "okay"; << 407 << 408 samsung,i2c-sda-delay = <100>; << 409 samsung,i2c-slave-addr = <0x10>; << 410 samsung,i2c-max-bus-freq = <100000>; << 411 << 412 lis3dh: accelerometer@19 { << 413 compatible = "st,lis3dh-accel" << 414 reg = <0x19>; << 415 << 416 mount-matrix = "0", "-1", "0", << 417 "1", "0", "0", << 418 "0", "0", "1"; << 419 }; << 420 }; << 421 << 422 &i2c_3 { 383 &i2c_3 { 423 status = "okay"; 384 status = "okay"; 424 385 425 samsung,i2c-sda-delay = <100>; 386 samsung,i2c-sda-delay = <100>; 426 samsung,i2c-slave-addr = <0x10>; 387 samsung,i2c-slave-addr = <0x10>; 427 samsung,i2c-max-bus-freq = <100000>; 388 samsung,i2c-max-bus-freq = <100000>; 428 389 429 pinctrl-0 = <&i2c3_bus>; 390 pinctrl-0 = <&i2c3_bus>; 430 pinctrl-names = "default"; 391 pinctrl-names = "default"; 431 392 432 touchscreen@4a { 393 touchscreen@4a { 433 compatible = "atmel,maxtouch"; 394 compatible = "atmel,maxtouch"; 434 reg = <0x4a>; 395 reg = <0x4a>; 435 396 436 interrupt-parent = <&gpx0>; 397 interrupt-parent = <&gpx0>; 437 interrupts = <4 IRQ_TYPE_EDGE_ 398 interrupts = <4 IRQ_TYPE_EDGE_FALLING>; 438 }; 399 }; 439 }; 400 }; 440 401 441 &i2c_5 { 402 &i2c_5 { 442 status = "okay"; 403 status = "okay"; 443 404 444 samsung,i2c-sda-delay = <100>; 405 samsung,i2c-sda-delay = <100>; 445 samsung,i2c-slave-addr = <0x10>; 406 samsung,i2c-slave-addr = <0x10>; 446 samsung,i2c-max-bus-freq = <100000>; 407 samsung,i2c-max-bus-freq = <100000>; 447 408 448 pinctrl-0 = <&i2c5_bus>; 409 pinctrl-0 = <&i2c5_bus>; 449 pinctrl-names = "default"; 410 pinctrl-names = "default"; 450 411 451 pmic@66 { 412 pmic@66 { 452 compatible = "maxim,max8997-pm 413 compatible = "maxim,max8997-pmic"; 453 reg = <0x66>; 414 reg = <0x66>; 454 415 455 interrupts-extended = <&gpx0 7 416 interrupts-extended = <&gpx0 7 IRQ_TYPE_NONE>, 456 <&gpx2 3 417 <&gpx2 3 IRQ_TYPE_EDGE_FALLING>; 457 418 458 max8997,pmic-buck1-uses-gpio-d 419 max8997,pmic-buck1-uses-gpio-dvs; 459 max8997,pmic-buck2-uses-gpio-d 420 max8997,pmic-buck2-uses-gpio-dvs; 460 max8997,pmic-buck5-uses-gpio-d 421 max8997,pmic-buck5-uses-gpio-dvs; 461 422 462 max8997,pmic-ignore-gpiodvs-si 423 max8997,pmic-ignore-gpiodvs-side-effect; 463 max8997,pmic-buck125-default-d 424 max8997,pmic-buck125-default-dvs-idx = <0>; 464 425 465 max8997,pmic-buck125-dvs-gpios 426 max8997,pmic-buck125-dvs-gpios = <&gpx0 5 GPIO_ACTIVE_HIGH>, 466 427 <&gpx0 6 GPIO_ACTIVE_HIGH>, 467 428 <&gpl0 0 GPIO_ACTIVE_HIGH>; 468 429 469 max8997,pmic-buck1-dvs-voltage 430 max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>, 470 431 <1250000>, <1200000>, 471 432 <1150000>, <1100000>, 472 433 <1000000>, <950000>; 473 434 474 max8997,pmic-buck2-dvs-voltage 435 max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>, 475 436 <950000>, <900000>, 476 437 <1100000>, <1000000>, 477 438 <950000>, <900000>; 478 439 479 max8997,pmic-buck5-dvs-voltage 440 max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>, 480 441 <1200000>, <1200000>, 481 442 <1200000>, <1200000>, 482 443 <1200000>, <1200000>; 483 444 484 pinctrl-0 = <&max8997_irq>, <& 445 pinctrl-0 = <&max8997_irq>, <&otg_gp>, <&usb_sel>; 485 pinctrl-names = "default"; 446 pinctrl-names = "default"; 486 447 487 charger-supply = <&charger_reg 448 charger-supply = <&charger_reg>; 488 449 489 regulators { 450 regulators { 490 vadc_reg: LDO1 { 451 vadc_reg: LDO1 { 491 regulator-name 452 regulator-name = "VADC_3.3V_C210"; 492 regulator-min- 453 regulator-min-microvolt = <3300000>; 493 regulator-max- 454 regulator-max-microvolt = <3300000>; 494 regulator-alwa 455 regulator-always-on; 495 456 496 }; 457 }; 497 valive_reg: LDO2 { 458 valive_reg: LDO2 { 498 regulator-name 459 regulator-name = "VALIVE_1.1V_C210"; 499 regulator-min- 460 regulator-min-microvolt = <1100000>; 500 regulator-max- 461 regulator-max-microvolt = <1100000>; 501 regulator-alwa 462 regulator-always-on; 502 463 503 }; 464 }; 504 465 505 vusb_reg: LDO3 { 466 vusb_reg: LDO3 { 506 regulator-name 467 regulator-name = "VUSB_1.1V_C210"; 507 regulator-min- 468 regulator-min-microvolt = <1100000>; 508 regulator-max- 469 regulator-max-microvolt = <1100000>; 509 }; 470 }; 510 471 511 vmipi_reg: LDO4 { 472 vmipi_reg: LDO4 { 512 regulator-name 473 regulator-name = "VMIPI_1.8V"; 513 regulator-min- 474 regulator-min-microvolt = <1800000>; 514 regulator-max- 475 regulator-max-microvolt = <1800000>; 515 regulator-alwa 476 regulator-always-on; 516 }; 477 }; 517 478 518 vhsic_reg: LDO5 { 479 vhsic_reg: LDO5 { 519 regulator-name 480 regulator-name = "VHSIC_1.2V"; 520 regulator-min- 481 regulator-min-microvolt = <1200000>; 521 regulator-max- 482 regulator-max-microvolt = <1200000>; 522 regulator-alwa 483 regulator-always-on; 523 }; 484 }; 524 485 525 vpda_reg: LDO6 { 486 vpda_reg: LDO6 { 526 regulator-name 487 regulator-name = "VCC_1.8V_PDA"; 527 regulator-min- 488 regulator-min-microvolt = <1800000>; 528 regulator-max- 489 regulator-max-microvolt = <1800000>; 529 regulator-alwa 490 regulator-always-on; 530 }; 491 }; 531 492 532 vcam_reg: LDO7 { 493 vcam_reg: LDO7 { 533 regulator-name 494 regulator-name = "CAM_ISP_1.8V"; 534 regulator-min- 495 regulator-min-microvolt = <1800000>; 535 regulator-max- 496 regulator-max-microvolt = <1800000>; 536 }; 497 }; 537 498 538 vusbdac_reg: LDO8 { 499 vusbdac_reg: LDO8 { 539 regulator-name 500 regulator-name = "VUSB+VDAC_3.3V_C210"; 540 regulator-min- 501 regulator-min-microvolt = <3300000>; 541 regulator-max- 502 regulator-max-microvolt = <3300000>; 542 }; 503 }; 543 504 544 vccpda_reg: LDO9 { 505 vccpda_reg: LDO9 { 545 regulator-name 506 regulator-name = "VCC_2.8V_PDA"; 546 regulator-min- 507 regulator-min-microvolt = <2800000>; 547 regulator-max- 508 regulator-max-microvolt = <2800000>; 548 regulator-alwa 509 regulator-always-on; 549 }; 510 }; 550 511 551 vtouch_reg: LDO11 { 512 vtouch_reg: LDO11 { 552 regulator-name 513 regulator-name = "TOUCH_2.8V"; 553 regulator-min- 514 regulator-min-microvolt = <2800000>; 554 regulator-max- 515 regulator-max-microvolt = <2800000>; >> 516 regulator-always-on; 555 }; 517 }; 556 518 557 vpll_reg: LDO10 { 519 vpll_reg: LDO10 { 558 regulator-name 520 regulator-name = "VPLL_1.1V"; 559 regulator-min- 521 regulator-min-microvolt = <1100000>; 560 regulator-max- 522 regulator-max-microvolt = <1100000>; 561 regulator-alwa 523 regulator-always-on; 562 }; 524 }; 563 525 564 vtcam_reg: LDO12 { 526 vtcam_reg: LDO12 { 565 regulator-name 527 regulator-name = "VT_CAM_1.8V"; 566 regulator-min- 528 regulator-min-microvolt = <1800000>; 567 regulator-max- 529 regulator-max-microvolt = <1800000>; 568 << 569 /* << 570 * Force-enabl << 571 * kernel hang << 572 * for about 1 << 573 * reason. << 574 */ << 575 regulator-alwa << 576 }; 530 }; 577 531 578 vcclcd_reg: LDO13 { 532 vcclcd_reg: LDO13 { 579 regulator-name 533 regulator-name = "VCC_3.0V_LCD"; 580 regulator-min- 534 regulator-min-microvolt = <3000000>; 581 regulator-max- 535 regulator-max-microvolt = <3000000>; 582 }; 536 }; 583 537 584 vmotor_reg: LDO14 { 538 vmotor_reg: LDO14 { 585 regulator-name 539 regulator-name = "VCC_2.8V_MOTOR"; 586 regulator-min- 540 regulator-min-microvolt = <2800000>; 587 regulator-max- 541 regulator-max-microvolt = <2800000>; 588 }; 542 }; 589 543 590 vled_reg: LDO15 { 544 vled_reg: LDO15 { 591 regulator-name 545 regulator-name = "LED_A_2.8V"; 592 regulator-min- 546 regulator-min-microvolt = <2800000>; 593 regulator-max- 547 regulator-max-microvolt = <2800000>; 594 }; 548 }; 595 549 596 camsensor_reg: LDO16 { 550 camsensor_reg: LDO16 { 597 regulator-name 551 regulator-name = "CAM_SENSOR_IO_1.8V"; 598 regulator-min- 552 regulator-min-microvolt = <1800000>; 599 regulator-max- 553 regulator-max-microvolt = <1800000>; 600 }; 554 }; 601 555 602 vtf_reg: LDO17 { 556 vtf_reg: LDO17 { 603 regulator-name 557 regulator-name = "VTF_2.8V"; 604 regulator-min- 558 regulator-min-microvolt = <2800000>; 605 regulator-max- 559 regulator-max-microvolt = <2800000>; 606 }; 560 }; 607 561 608 vtouchled_reg: LDO18 { 562 vtouchled_reg: LDO18 { 609 regulator-name 563 regulator-name = "TOUCH_LED_3.3V"; 610 regulator-min- 564 regulator-min-microvolt = <2500000>; 611 regulator-max- 565 regulator-max-microvolt = <3300000>; 612 }; 566 }; 613 567 614 vddq_reg: LDO21 { 568 vddq_reg: LDO21 { 615 regulator-name 569 regulator-name = "VDDQ_M1M2_1.2V"; 616 regulator-min- 570 regulator-min-microvolt = <1200000>; 617 regulator-max- 571 regulator-max-microvolt = <1200000>; 618 regulator-alwa 572 regulator-always-on; 619 }; 573 }; 620 574 621 varm_breg: BUCK1 { 575 varm_breg: BUCK1 { 622 regulator-name 576 regulator-name = "VARM_1.2V_C210"; 623 regulator-min- 577 regulator-min-microvolt = <65000>; 624 regulator-max- 578 regulator-max-microvolt = <2225000>; 625 regulator-alwa 579 regulator-always-on; 626 }; 580 }; 627 581 628 vint_breg: BUCK2 { 582 vint_breg: BUCK2 { 629 regulator-name 583 regulator-name = "VINT_1.1V_C210"; 630 regulator-min- 584 regulator-min-microvolt = <65000>; 631 regulator-max- 585 regulator-max-microvolt = <2225000>; 632 regulator-alwa 586 regulator-always-on; 633 }; 587 }; 634 588 635 vg3d_breg: BUCK3 { 589 vg3d_breg: BUCK3 { 636 regulator-name 590 regulator-name = "G3D_1.1V"; 637 regulator-min- 591 regulator-min-microvolt = <900000>; 638 regulator-max- 592 regulator-max-microvolt = <1200000>; 639 regulator-micr 593 regulator-microvolt-offset = <50000>; 640 regulator-alwa 594 regulator-always-on; 641 }; 595 }; 642 596 643 camisp_breg: BUCK4 { 597 camisp_breg: BUCK4 { 644 regulator-name 598 regulator-name = "CAM_ISP_CORE_1.2V"; 645 regulator-min- 599 regulator-min-microvolt = <1200000>; 646 regulator-max- 600 regulator-max-microvolt = <1200000>; 647 }; 601 }; 648 602 649 vmem_breg: BUCK5 { 603 vmem_breg: BUCK5 { 650 regulator-name 604 regulator-name = "VMEM_1.2V"; 651 regulator-min- 605 regulator-min-microvolt = <1200000>; 652 regulator-max- 606 regulator-max-microvolt = <1200000>; 653 regulator-alwa 607 regulator-always-on; 654 }; 608 }; 655 609 656 vccsub_breg: BUCK7 { 610 vccsub_breg: BUCK7 { 657 regulator-name 611 regulator-name = "VCC_SUB_2.0V"; 658 regulator-min- 612 regulator-min-microvolt = <2000000>; 659 regulator-max- 613 regulator-max-microvolt = <2000000>; 660 regulator-alwa 614 regulator-always-on; 661 }; 615 }; 662 616 663 safe1_sreg: ESAFEOUT1 617 safe1_sreg: ESAFEOUT1 { 664 regulator-name 618 regulator-name = "SAFEOUT1"; 665 }; 619 }; 666 620 667 safe2_sreg: ESAFEOUT2 621 safe2_sreg: ESAFEOUT2 { 668 regulator-name 622 regulator-name = "SAFEOUT2"; 669 regulator-boot 623 regulator-boot-on; 670 }; 624 }; 671 625 672 EN32KHZ_AP { 626 EN32KHZ_AP { 673 regulator-name 627 regulator-name = "EN32KHZ_AP"; 674 regulator-alwa 628 regulator-always-on; 675 }; 629 }; 676 630 677 EN32KHZ_CP { 631 EN32KHZ_CP { 678 regulator-name 632 regulator-name = "EN32KHZ_CP"; 679 regulator-alwa 633 regulator-always-on; 680 }; 634 }; 681 635 682 charger_reg: CHARGER { 636 charger_reg: CHARGER { 683 regulator-name 637 regulator-name = "CHARGER"; 684 regulator-min- 638 regulator-min-microamp = <200000>; 685 regulator-max- 639 regulator-max-microamp = <950000>; 686 }; 640 }; 687 641 688 chargercv_reg: CHARGER 642 chargercv_reg: CHARGER_CV { 689 regulator-name 643 regulator-name = "CHARGER_CV"; 690 regulator-min- 644 regulator-min-microvolt = <4200000>; 691 regulator-max- 645 regulator-max-microvolt = <4200000>; 692 regulator-alwa 646 regulator-always-on; 693 }; 647 }; 694 648 695 CHARGER_TOPOFF { 649 CHARGER_TOPOFF { 696 regulator-name 650 regulator-name = "CHARGER_TOPOFF"; 697 regulator-min- 651 regulator-min-microamp = <200000>; 698 regulator-max- 652 regulator-max-microamp = <200000>; 699 regulator-alwa 653 regulator-always-on; 700 }; 654 }; 701 }; 655 }; 702 }; 656 }; 703 }; 657 }; 704 658 705 &i2c_7 { 659 &i2c_7 { 706 status = "okay"; 660 status = "okay"; 707 661 708 samsung,i2c-sda-delay = <100>; 662 samsung,i2c-sda-delay = <100>; 709 samsung,i2c-slave-addr = <0x10>; 663 samsung,i2c-slave-addr = <0x10>; 710 samsung,i2c-max-bus-freq = <400000>; 664 samsung,i2c-max-bus-freq = <400000>; 711 665 712 pinctrl-0 = <&i2c7_bus>; 666 pinctrl-0 = <&i2c7_bus>; 713 pinctrl-names = "default"; 667 pinctrl-names = "default"; 714 668 715 magnetometer@c { 669 magnetometer@c { 716 compatible = "asahi-kasei,ak89 670 compatible = "asahi-kasei,ak8975"; 717 reg = <0x0c>; 671 reg = <0x0c>; 718 672 719 gpios = <&gpx2 2 GPIO_ACTIVE_H 673 gpios = <&gpx2 2 GPIO_ACTIVE_HIGH>; 720 }; 674 }; 721 }; 675 }; 722 676 723 &pinctrl_0 { 677 &pinctrl_0 { 724 pinctrl-names = "default"; 678 pinctrl-names = "default"; 725 pinctrl-0 = <&sleep0>; 679 pinctrl-0 = <&sleep0>; 726 680 727 sleep0: sleep-state { 681 sleep0: sleep-state { 728 gpa0-0-pin { 682 gpa0-0-pin { 729 samsung,pins = "gpa0-0 683 samsung,pins = "gpa0-0"; 730 samsung,pin-con-pdn = 684 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>; 731 samsung,pin-pud-pdn = 685 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 732 }; 686 }; 733 687 734 gpa0-1-pin { 688 gpa0-1-pin { 735 samsung,pins = "gpa0-1 689 samsung,pins = "gpa0-1"; 736 samsung,pin-con-pdn = 690 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT0>; 737 samsung,pin-pud-pdn = 691 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 738 }; 692 }; 739 693 740 gpa0-2-pin { 694 gpa0-2-pin { 741 samsung,pins = "gpa0-2 695 samsung,pins = "gpa0-2"; 742 samsung,pin-con-pdn = 696 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_INPUT>; 743 samsung,pin-pud-pdn = 697 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 744 }; 698 }; 745 699 746 gpa0-3-pin { 700 gpa0-3-pin { 747 samsung,pins = "gpa0-3 701 samsung,pins = "gpa0-3"; 748 samsung,pin-con-pdn = 702 samsung,pin-con-pdn = <EXYNOS_PIN_PDN_OUT1>; 749 samsung,pin-pud-pdn = 703 samsung,pin-pud-pdn = <EXYNOS_PIN_PULL_NONE>; 750 }; 704 }; 751 }; 705 }; 752 }; 706 }; 753 707 754 &pinctrl_1 { 708 &pinctrl_1 { 755 mhl_int: mhl-int-pins { 709 mhl_int: mhl-int-pins { 756 samsung,pins = "gpf3-5"; 710 samsung,pins = "gpf3-5"; 757 samsung,pin-pud = <EXYNOS_PIN_ 711 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 758 }; 712 }; 759 713 760 i2c_mhl_bus: i2c-mhl-bus-pins { 714 i2c_mhl_bus: i2c-mhl-bus-pins { 761 samsung,pins = "gpf0-4", "gpf0 715 samsung,pins = "gpf0-4", "gpf0-6"; 762 samsung,pin-function = <EXYNOS 716 samsung,pin-function = <EXYNOS_PIN_FUNC_2>; 763 samsung,pin-pud = <EXYNOS_PIN_ 717 samsung,pin-pud = <EXYNOS_PIN_PULL_DOWN>; 764 samsung,pin-drv = <EXYNOS4_PIN 718 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 765 }; 719 }; 766 720 767 usb_sel: usb-sel-pins { 721 usb_sel: usb-sel-pins { 768 samsung,pins = "gpl0-6"; 722 samsung,pins = "gpl0-6"; 769 samsung,pin-function = <EXYNOS 723 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 770 samsung,pin-pud = <EXYNOS_PIN_ 724 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 771 samsung,pin-drv = <EXYNOS4_PIN 725 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 772 samsung,pin-val = <0>; 726 samsung,pin-val = <0>; 773 }; 727 }; 774 728 775 bt_en: bt-en-pins { 729 bt_en: bt-en-pins { 776 samsung,pins = "gpl0-4"; 730 samsung,pins = "gpl0-4"; 777 samsung,pin-function = <EXYNOS 731 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 778 samsung,pin-pud = <EXYNOS_PIN_ 732 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 779 samsung,pin-drv = <EXYNOS4_PIN 733 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; 780 samsung,pin-val = <0>; 734 samsung,pin-val = <0>; 781 }; 735 }; 782 736 783 bt_res: bt-res-pins { 737 bt_res: bt-res-pins { 784 samsung,pins = "gpl1-0"; 738 samsung,pins = "gpl1-0"; 785 samsung,pin-function = <EXYNOS 739 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 786 samsung,pin-pud = <EXYNOS_PIN_ 740 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 787 samsung,pin-drv = <EXYNOS4_PIN 741 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV4>; 788 samsung,pin-val = <0>; 742 samsung,pin-val = <0>; 789 }; 743 }; 790 744 791 otg_gp: otg-gp-pins { 745 otg_gp: otg-gp-pins { 792 samsung,pins = "gpx3-3"; 746 samsung,pins = "gpx3-3"; 793 samsung,pin-function = <EXYNOS 747 samsung,pin-function = <EXYNOS_PIN_FUNC_OUTPUT>; 794 samsung,pin-pud = <EXYNOS_PIN_ 748 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 795 samsung,pin-drv = <EXYNOS4_PIN 749 samsung,pin-drv = <EXYNOS4_PIN_DRV_LV1>; 796 samsung,pin-val = <0>; 750 samsung,pin-val = <0>; 797 }; 751 }; 798 752 799 mag_mhl_gpio: mag-mhl-pins { 753 mag_mhl_gpio: mag-mhl-pins { 800 samsung,pins = "gpd0-2"; 754 samsung,pins = "gpd0-2"; 801 samsung,pin-function = <EXYNOS 755 samsung,pin-function = <EXYNOS_PIN_FUNC_3>; 802 samsung,pin-pud = <EXYNOS_PIN_ 756 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 803 }; 757 }; 804 758 805 max8997_irq: max8997-irq-pins { 759 max8997_irq: max8997-irq-pins { 806 samsung,pins = "gpx0-7"; 760 samsung,pins = "gpx0-7"; 807 samsung,pin-pud = <EXYNOS_PIN_ 761 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 808 }; 762 }; 809 763 810 max17042_fuel_irq: max17042-fuel-irq-p 764 max17042_fuel_irq: max17042-fuel-irq-pins { 811 samsung,pins = "gpx2-3"; 765 samsung,pins = "gpx2-3"; 812 samsung,pin-pud = <EXYNOS_PIN_ 766 samsung,pin-pud = <EXYNOS_PIN_PULL_NONE>; 813 }; 767 }; 814 768 815 tsp224_irq: tsp224-irq-pins { 769 tsp224_irq: tsp224-irq-pins { 816 samsung,pins = "gpx0-4"; 770 samsung,pins = "gpx0-4"; 817 samsung,pin-pud = <EXYNOS_PIN_ 771 samsung,pin-pud = <EXYNOS_PIN_PULL_UP>; 818 }; 772 }; 819 }; 773 }; 820 774 821 &rtc { 775 &rtc { 822 status = "okay"; 776 status = "okay"; 823 clocks = <&clock CLK_RTC>, <&pmic_ap_c 777 clocks = <&clock CLK_RTC>, <&pmic_ap_clk>; 824 clock-names = "rtc", "rtc_src"; 778 clock-names = "rtc", "rtc_src"; 825 }; 779 }; 826 780 827 &sdhci_0 { 781 &sdhci_0 { 828 status = "okay"; 782 status = "okay"; 829 783 830 bus-width = <8>; 784 bus-width = <8>; 831 non-removable; 785 non-removable; 832 vmmc-supply = <&vemmc_reg>; 786 vmmc-supply = <&vemmc_reg>; 833 787 834 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <& 788 pinctrl-0 = <&sd0_clk>, <&sd0_cmd>, <&sd0_bus8>; 835 pinctrl-names = "default"; 789 pinctrl-names = "default"; 836 }; 790 }; 837 791 838 &sdhci_2 { 792 &sdhci_2 { 839 status = "okay"; 793 status = "okay"; 840 794 841 bus-width = <4>; 795 bus-width = <4>; 842 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; 796 cd-gpios = <&gpx3 4 GPIO_ACTIVE_LOW>; 843 vmmc-supply = <&vtf_reg>; 797 vmmc-supply = <&vtf_reg>; 844 798 845 pinctrl-0 = <&sd2_clk>, <&sd2_cmd>, <& 799 pinctrl-0 = <&sd2_clk>, <&sd2_cmd>, <&sd2_bus4>; 846 pinctrl-names = "default"; 800 pinctrl-names = "default"; 847 }; 801 }; 848 802 849 &sdhci_3 { 803 &sdhci_3 { 850 status = "okay"; 804 status = "okay"; 851 805 852 #address-cells = <1>; 806 #address-cells = <1>; 853 #size-cells = <0>; 807 #size-cells = <0>; 854 808 855 non-removable; 809 non-removable; 856 bus-width = <4>; 810 bus-width = <4>; 857 mmc-pwrseq = <&wlan_pwrseq>; 811 mmc-pwrseq = <&wlan_pwrseq>; 858 vmmc-supply = <&vtf_reg>; 812 vmmc-supply = <&vtf_reg>; 859 813 860 pinctrl-names = "default"; 814 pinctrl-names = "default"; 861 pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <& 815 pinctrl-0 = <&sd3_clk>, <&sd3_cmd>, <&sd3_bus4>; 862 816 863 brcmf: wifi@1 { 817 brcmf: wifi@1 { 864 compatible = "brcm,bcm4330-fma 818 compatible = "brcm,bcm4330-fmac", "brcm,bcm4329-fmac"; 865 reg = <1>; 819 reg = <1>; 866 820 867 interrupt-parent = <&gpx2>; 821 interrupt-parent = <&gpx2>; 868 interrupts = <5 IRQ_TYPE_LEVEL 822 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; 869 interrupt-names = "host-wake"; 823 interrupt-names = "host-wake"; 870 }; 824 }; 871 }; 825 }; 872 826 873 &serial_0 { 827 &serial_0 { 874 status = "okay"; 828 status = "okay"; 875 829 876 pinctrl-names = "default"; 830 pinctrl-names = "default"; 877 pinctrl-0 = <&bt_en>, <&bt_res>, <&uar 831 pinctrl-0 = <&bt_en>, <&bt_res>, <&uart0_data>, <&uart0_fctl>; 878 832 879 bluetooth { 833 bluetooth { 880 compatible = "brcm,bcm4330-bt" 834 compatible = "brcm,bcm4330-bt"; 881 835 882 shutdown-gpios = <&gpl0 4 GPIO 836 shutdown-gpios = <&gpl0 4 GPIO_ACTIVE_HIGH>; 883 reset-gpios = <&gpl1 0 GPIO_AC 837 reset-gpios = <&gpl1 0 GPIO_ACTIVE_LOW>; 884 device-wakeup-gpios = <&gpx3 1 838 device-wakeup-gpios = <&gpx3 1 GPIO_ACTIVE_HIGH>; 885 839 886 interrupt-parent = <&gpx2>; 840 interrupt-parent = <&gpx2>; 887 interrupts = <6 IRQ_TYPE_EDGE_ 841 interrupts = <6 IRQ_TYPE_EDGE_FALLING>; 888 interrupt-names = "host-wakeup 842 interrupt-names = "host-wakeup"; 889 }; 843 }; 890 }; 844 }; 891 845 892 &serial_1 { 846 &serial_1 { 893 status = "okay"; 847 status = "okay"; 894 }; 848 }; 895 849 896 &serial_2 { 850 &serial_2 { 897 status = "okay"; 851 status = "okay"; 898 }; 852 }; 899 853 900 &serial_3 { 854 &serial_3 { 901 status = "okay"; 855 status = "okay"; 902 }; 856 }; 903 857 904 &tmu { 858 &tmu { 905 status = "okay"; 859 status = "okay"; 906 }; 860 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.