1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * Samsung's S5PV210 based Galaxy Aries board 3 * Samsung's S5PV210 based Galaxy Aries board device tree source 4 */ 4 */ 5 5 6 /dts-v1/; 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include "s5pv210.dtsi" 9 #include "s5pv210.dtsi" 10 10 11 / { 11 / { 12 compatible = "samsung,aries", "samsung 12 compatible = "samsung,aries", "samsung,s5pv210"; 13 13 14 aliases: aliases { 14 aliases: aliases { 15 i2c4 = &i2c_sound; 15 i2c4 = &i2c_sound; 16 i2c5 = &i2c_accel; 16 i2c5 = &i2c_accel; 17 i2c6 = &i2c_pmic; 17 i2c6 = &i2c_pmic; 18 i2c7 = &i2c_musb; 18 i2c7 = &i2c_musb; 19 i2c9 = &i2c_fuel; 19 i2c9 = &i2c_fuel; 20 i2c10 = &i2c_touchkey; 20 i2c10 = &i2c_touchkey; 21 i2c11 = &i2c_prox; 21 i2c11 = &i2c_prox; 22 i2c12 = &i2c_magnetometer; 22 i2c12 = &i2c_magnetometer; 23 }; 23 }; 24 24 25 memory@30000000 { 25 memory@30000000 { 26 device_type = "memory"; 26 device_type = "memory"; 27 reg = <0x30000000 0x05000000>, 27 reg = <0x30000000 0x05000000>, 28 <0x40000000 0x10000000 28 <0x40000000 0x10000000>, 29 <0x50000000 0x08000000 29 <0x50000000 0x08000000>; 30 }; 30 }; 31 31 32 reserved-memory { 32 reserved-memory { 33 #address-cells = <1>; 33 #address-cells = <1>; 34 #size-cells = <1>; 34 #size-cells = <1>; 35 ranges; 35 ranges; 36 36 37 mfc_left: region@43000000 { 37 mfc_left: region@43000000 { 38 compatible = "shared-d 38 compatible = "shared-dma-pool"; 39 no-map; 39 no-map; 40 reg = <0x43000000 0x20 40 reg = <0x43000000 0x2000000>; 41 }; 41 }; 42 42 43 mfc_right: region@51000000 { 43 mfc_right: region@51000000 { 44 compatible = "shared-d 44 compatible = "shared-dma-pool"; 45 no-map; 45 no-map; 46 reg = <0x51000000 0x20 46 reg = <0x51000000 0x2000000>; 47 }; 47 }; 48 }; 48 }; 49 49 50 pmic_ap_clk: clock-0 { 50 pmic_ap_clk: clock-0 { 51 /* Workaround for missing cloc 51 /* Workaround for missing clock on PMIC */ 52 compatible = "fixed-clock"; 52 compatible = "fixed-clock"; 53 #clock-cells = <0>; 53 #clock-cells = <0>; 54 clock-frequency = <32768>; 54 clock-frequency = <32768>; 55 }; 55 }; 56 56 57 bt_codec: bt-sco { 57 bt_codec: bt-sco { 58 compatible = "linux,bt-sco"; 58 compatible = "linux,bt-sco"; 59 #sound-dai-cells = <0>; 59 #sound-dai-cells = <0>; 60 }; 60 }; 61 61 62 vibrator_pwr: regulator-fixed-0 { 62 vibrator_pwr: regulator-fixed-0 { 63 compatible = "regulator-fixed" 63 compatible = "regulator-fixed"; 64 regulator-name = "vibrator-en" 64 regulator-name = "vibrator-en"; 65 enable-active-high; 65 enable-active-high; 66 gpio = <&gpj1 1 GPIO_ACTIVE_HI 66 gpio = <&gpj1 1 GPIO_ACTIVE_HIGH>; 67 67 68 pinctrl-names = "default"; 68 pinctrl-names = "default"; 69 pinctrl-0 = <&vibrator_ena>; 69 pinctrl-0 = <&vibrator_ena>; 70 }; 70 }; 71 71 72 touchkey_vdd: regulator-fixed-1 { 72 touchkey_vdd: regulator-fixed-1 { 73 compatible = "regulator-fixed" 73 compatible = "regulator-fixed"; 74 regulator-name = "VTOUCH_3.3V" 74 regulator-name = "VTOUCH_3.3V"; 75 regulator-min-microvolt = <330 75 regulator-min-microvolt = <3300000>; 76 regulator-max-microvolt = <330 76 regulator-max-microvolt = <3300000>; 77 enable-active-high; 77 enable-active-high; 78 gpio = <&gpj3 2 GPIO_ACTIVE_HI 78 gpio = <&gpj3 2 GPIO_ACTIVE_HIGH>; 79 79 80 pinctrl-names = "default"; 80 pinctrl-names = "default"; 81 pinctrl-0 = <&touchkey_vdd_ena 81 pinctrl-0 = <&touchkey_vdd_ena>; 82 }; 82 }; 83 83 84 gp2a_vled: regulator-fixed-2 { 84 gp2a_vled: regulator-fixed-2 { 85 compatible = "regulator-fixed" 85 compatible = "regulator-fixed"; 86 regulator-name = "VLED"; 86 regulator-name = "VLED"; 87 enable-active-high; 87 enable-active-high; 88 gpio = <&gpj1 4 GPIO_ACTIVE_HI 88 gpio = <&gpj1 4 GPIO_ACTIVE_HIGH>; 89 regulator-min-microvolt = <280 89 regulator-min-microvolt = <2800000>; 90 regulator-max-microvolt = <280 90 regulator-max-microvolt = <2800000>; 91 91 92 pinctrl-names = "default"; 92 pinctrl-names = "default"; 93 pinctrl-0 = <&gp2a_power>; 93 pinctrl-0 = <&gp2a_power>; 94 }; 94 }; 95 95 96 wifi_pwrseq: wifi-pwrseq { 96 wifi_pwrseq: wifi-pwrseq { 97 compatible = "mmc-pwrseq-simpl 97 compatible = "mmc-pwrseq-simple"; 98 reset-gpios = <&gpg1 2 GPIO_AC 98 reset-gpios = <&gpg1 2 GPIO_ACTIVE_LOW>; 99 pinctrl-names = "default"; 99 pinctrl-names = "default"; 100 pinctrl-0 = <&wlan_gpio_rst>; 100 pinctrl-0 = <&wlan_gpio_rst>; 101 post-power-on-delay-ms = <500> 101 post-power-on-delay-ms = <500>; 102 power-off-delay-us = <500>; 102 power-off-delay-us = <500>; 103 }; 103 }; 104 104 105 i2c_sound: i2c-gpio-0 { 105 i2c_sound: i2c-gpio-0 { 106 compatible = "i2c-gpio"; 106 compatible = "i2c-gpio"; 107 sda-gpios = <&mp05 3 (GPIO_ACT 107 sda-gpios = <&mp05 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 108 scl-gpios = <&mp05 2 (GPIO_ACT 108 scl-gpios = <&mp05 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 109 i2c-gpio,delay-us = <2>; 109 i2c-gpio,delay-us = <2>; 110 #address-cells = <1>; 110 #address-cells = <1>; 111 #size-cells = <0>; 111 #size-cells = <0>; 112 112 113 pinctrl-names = "default"; 113 pinctrl-names = "default"; 114 pinctrl-0 = <&sound_i2c_pins>; 114 pinctrl-0 = <&sound_i2c_pins>; 115 115 116 wm8994: audio-codec@1a { 116 wm8994: audio-codec@1a { 117 compatible = "wlf,wm89 117 compatible = "wlf,wm8994"; 118 reg = <0x1a>; 118 reg = <0x1a>; 119 119 120 #sound-dai-cells = <0> 120 #sound-dai-cells = <0>; 121 121 122 gpio-controller; 122 gpio-controller; 123 #gpio-cells = <2>; 123 #gpio-cells = <2>; 124 124 125 clocks = <&clocks MOUT 125 clocks = <&clocks MOUT_CLKOUT>; 126 clock-names = "MCLK1"; 126 clock-names = "MCLK1"; 127 127 128 AVDD2-supply = <&buck3 128 AVDD2-supply = <&buck3_reg>; 129 DBVDD-supply = <&buck3 129 DBVDD-supply = <&buck3_reg>; 130 CPVDD-supply = <&buck3 130 CPVDD-supply = <&buck3_reg>; 131 SPKVDD1-supply = <&buc 131 SPKVDD1-supply = <&buck3_reg>; 132 SPKVDD2-supply = <&buc 132 SPKVDD2-supply = <&buck3_reg>; 133 133 134 wlf,gpio-cfg = <0xa101 134 wlf,gpio-cfg = <0xa101 0x8100 0x0100 0x0100 0x8100 135 0xa101 135 0xa101 0x0100 0x8100 0x0100 0x0100 136 0x0100 136 0x0100>; 137 137 138 wlf,ldo1ena-gpios = <& 138 wlf,ldo1ena-gpios = <&gpf3 4 GPIO_ACTIVE_HIGH>; 139 wlf,ldo2ena-gpios = <& 139 wlf,ldo2ena-gpios = <&gpf3 4 GPIO_ACTIVE_HIGH>; 140 140 141 wlf,lineout1-se; 141 wlf,lineout1-se; 142 wlf,lineout2-se; 142 wlf,lineout2-se; 143 143 144 assigned-clocks = <&cl 144 assigned-clocks = <&clocks MOUT_CLKOUT>; 145 assigned-clock-rates = 145 assigned-clock-rates = <0>; 146 assigned-clock-parents 146 assigned-clock-parents = <&xusbxti>; 147 147 148 pinctrl-names = "defau 148 pinctrl-names = "default"; 149 pinctrl-0 = <&codec_ld 149 pinctrl-0 = <&codec_ldo>; 150 }; 150 }; 151 }; 151 }; 152 152 153 i2c_accel: i2c-gpio-1 { 153 i2c_accel: i2c-gpio-1 { 154 compatible = "i2c-gpio"; 154 compatible = "i2c-gpio"; 155 sda-gpios = <&gpj3 6 (GPIO_ACT 155 sda-gpios = <&gpj3 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 156 scl-gpios = <&gpj3 7 (GPIO_ACT 156 scl-gpios = <&gpj3 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 157 i2c-gpio,delay-us = <2>; 157 i2c-gpio,delay-us = <2>; 158 #address-cells = <1>; 158 #address-cells = <1>; 159 #size-cells = <0>; 159 #size-cells = <0>; 160 160 161 pinctrl-names = "default"; 161 pinctrl-names = "default"; 162 pinctrl-0 = <&accel_i2c_pins>; 162 pinctrl-0 = <&accel_i2c_pins>; 163 163 164 accelerometer@38 { 164 accelerometer@38 { 165 compatible = "bosch,bm 165 compatible = "bosch,bma023"; 166 reg = <0x38>; 166 reg = <0x38>; 167 167 168 vdd-supply = <&ldo9_re 168 vdd-supply = <&ldo9_reg>; 169 vddio-supply = <&ldo9_ 169 vddio-supply = <&ldo9_reg>; 170 }; 170 }; 171 }; 171 }; 172 172 173 i2c_pmic: i2c-gpio-2 { 173 i2c_pmic: i2c-gpio-2 { 174 compatible = "i2c-gpio"; 174 compatible = "i2c-gpio"; 175 sda-gpios = <&gpj4 0 (GPIO_ACT 175 sda-gpios = <&gpj4 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 176 scl-gpios = <&gpj4 3 (GPIO_ACT 176 scl-gpios = <&gpj4 3 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 177 i2c-gpio,delay-us = <2>; 177 i2c-gpio,delay-us = <2>; 178 #address-cells = <1>; 178 #address-cells = <1>; 179 #size-cells = <0>; 179 #size-cells = <0>; 180 180 181 pinctrl-names = "default"; 181 pinctrl-names = "default"; 182 pinctrl-0 = <&pmic_i2c_pins>; 182 pinctrl-0 = <&pmic_i2c_pins>; 183 183 184 pmic@66 { 184 pmic@66 { 185 compatible = "maxim,ma 185 compatible = "maxim,max8998"; 186 reg = <0x66>; 186 reg = <0x66>; 187 interrupt-parent = <&g 187 interrupt-parent = <&gph0>; 188 interrupts = <7 IRQ_TY 188 interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 189 189 190 max8998,pmic-buck1-def 190 max8998,pmic-buck1-default-dvs-idx = <1>; 191 max8998,pmic-buck1-dvs 191 max8998,pmic-buck1-dvs-gpios = <&gph0 3 GPIO_ACTIVE_HIGH>, 192 192 <&gph0 4 GPIO_ACTIVE_HIGH>; 193 max8998,pmic-buck1-dvs 193 max8998,pmic-buck1-dvs-voltage = <1275000>, <1200000>, 194 194 <1050000>, <950000>; 195 195 196 max8998,pmic-buck2-def 196 max8998,pmic-buck2-default-dvs-idx = <0>; 197 max8998,pmic-buck2-dvs 197 max8998,pmic-buck2-dvs-gpio = <&gph0 5 GPIO_ACTIVE_HIGH>; 198 max8998,pmic-buck2-dvs 198 max8998,pmic-buck2-dvs-voltage = <1100000>, <1000000>; 199 199 200 pinctrl-names = "defau 200 pinctrl-names = "default"; 201 pinctrl-0 = <&pmic_dvs 201 pinctrl-0 = <&pmic_dvs_pins &pmic_irq>; 202 202 203 regulators { 203 regulators { 204 ldo2_reg: LDO2 204 ldo2_reg: LDO2 { 205 regula 205 regulator-name = "VALIVE_1.2V"; 206 regula 206 regulator-min-microvolt = <1200000>; 207 regula 207 regulator-max-microvolt = <1200000>; 208 regula 208 regulator-always-on; 209 209 210 regula 210 regulator-state-mem { 211 211 regulator-on-in-suspend; 212 }; 212 }; 213 }; 213 }; 214 214 215 ldo3_reg: LDO3 215 ldo3_reg: LDO3 { 216 regula 216 regulator-name = "VUSB_1.1V"; 217 regula 217 regulator-min-microvolt = <1100000>; 218 regula 218 regulator-max-microvolt = <1100000>; 219 219 220 regula 220 regulator-state-mem { 221 221 regulator-off-in-suspend; 222 }; 222 }; 223 }; 223 }; 224 224 225 ldo4_reg: LDO4 225 ldo4_reg: LDO4 { 226 regula 226 regulator-name = "VADC_3.3V"; 227 regula 227 regulator-min-microvolt = <3300000>; 228 regula 228 regulator-max-microvolt = <3300000>; 229 229 230 regula 230 regulator-state-mem { 231 231 regulator-off-in-suspend; 232 }; 232 }; 233 }; 233 }; 234 234 235 ldo5_reg: LDO5 235 ldo5_reg: LDO5 { 236 regula 236 regulator-name = "VTF_2.8V"; 237 regula 237 regulator-min-microvolt = <2800000>; 238 regula 238 regulator-max-microvolt = <2800000>; 239 239 240 regula 240 regulator-state-mem { 241 241 regulator-off-in-suspend; 242 }; 242 }; 243 }; 243 }; 244 244 245 ldo6_reg: LDO6 245 ldo6_reg: LDO6 { 246 regula 246 regulator-name = "LDO6"; 247 regula 247 regulator-min-microvolt = <1600000>; 248 regula 248 regulator-max-microvolt = <3600000>; 249 }; 249 }; 250 250 251 ldo7_reg: LDO7 251 ldo7_reg: LDO7 { 252 regula 252 regulator-name = "VLCD_1.8V"; 253 regula 253 regulator-min-microvolt = <1800000>; 254 regula 254 regulator-max-microvolt = <1800000>; 255 255 256 regula 256 regulator-state-mem { 257 257 regulator-off-in-suspend; 258 }; 258 }; 259 }; 259 }; 260 260 261 ldo8_reg: LDO8 261 ldo8_reg: LDO8 { 262 regula 262 regulator-name = "VUSB_3.3V"; 263 regula 263 regulator-min-microvolt = <3300000>; 264 regula 264 regulator-max-microvolt = <3300000>; 265 265 266 regula 266 regulator-state-mem { 267 267 regulator-off-in-suspend; 268 }; 268 }; 269 }; 269 }; 270 270 271 ldo9_reg: LDO9 271 ldo9_reg: LDO9 { 272 regula 272 regulator-name = "VCC_2.8V_PDA"; 273 regula 273 regulator-min-microvolt = <2800000>; 274 regula 274 regulator-max-microvolt = <2800000>; 275 regula 275 regulator-always-on; 276 }; 276 }; 277 277 278 ldo10_reg: LDO 278 ldo10_reg: LDO10 { 279 regula 279 regulator-name = "VPLL_1.2V"; 280 regula 280 regulator-min-microvolt = <1200000>; 281 regula 281 regulator-max-microvolt = <1200000>; 282 regula 282 regulator-always-on; 283 283 284 regula 284 regulator-state-mem { 285 285 regulator-on-in-suspend; 286 }; 286 }; 287 }; 287 }; 288 288 289 ldo11_reg: LDO 289 ldo11_reg: LDO11 { 290 regula 290 regulator-name = "CAM_AF_3.0V"; 291 regula 291 regulator-min-microvolt = <3000000>; 292 regula 292 regulator-max-microvolt = <3000000>; 293 293 294 regula 294 regulator-state-mem { 295 295 regulator-off-in-suspend; 296 }; 296 }; 297 }; 297 }; 298 298 299 ldo12_reg: LDO 299 ldo12_reg: LDO12 { 300 regula 300 regulator-name = "CAM_SENSOR_CORE_1.2V"; 301 regula 301 regulator-min-microvolt = <1200000>; 302 regula 302 regulator-max-microvolt = <1200000>; 303 303 304 regula 304 regulator-state-mem { 305 305 regulator-off-in-suspend; 306 }; 306 }; 307 }; 307 }; 308 308 309 ldo13_reg: LDO 309 ldo13_reg: LDO13 { 310 regula 310 regulator-name = "VGA_VDDIO_2.8V"; 311 regula 311 regulator-min-microvolt = <2800000>; 312 regula 312 regulator-max-microvolt = <2800000>; 313 313 314 regula 314 regulator-state-mem { 315 315 regulator-off-in-suspend; 316 }; 316 }; 317 }; 317 }; 318 318 319 ldo14_reg: LDO 319 ldo14_reg: LDO14 { 320 regula 320 regulator-name = "VGA_DVDD_1.8V"; 321 regula 321 regulator-min-microvolt = <1800000>; 322 regula 322 regulator-max-microvolt = <1800000>; 323 323 324 regula 324 regulator-state-mem { 325 325 regulator-off-in-suspend; 326 }; 326 }; 327 }; 327 }; 328 328 329 ldo15_reg: LDO 329 ldo15_reg: LDO15 { 330 regula 330 regulator-name = "CAM_ISP_HOST_2.8V"; 331 regula 331 regulator-min-microvolt = <2800000>; 332 regula 332 regulator-max-microvolt = <2800000>; 333 333 334 regula 334 regulator-state-mem { 335 335 regulator-off-in-suspend; 336 }; 336 }; 337 }; 337 }; 338 338 339 ldo16_reg: LDO 339 ldo16_reg: LDO16 { 340 regula 340 regulator-name = "VGA_AVDD_2.8V"; 341 regula 341 regulator-min-microvolt = <2800000>; 342 regula 342 regulator-max-microvolt = <2800000>; 343 343 344 regula 344 regulator-state-mem { 345 345 regulator-off-in-suspend; 346 }; 346 }; 347 }; 347 }; 348 348 349 ldo17_reg: LDO 349 ldo17_reg: LDO17 { 350 regula 350 regulator-name = "VCC_3.0V_LCD"; 351 regula 351 regulator-min-microvolt = <3000000>; 352 regula 352 regulator-max-microvolt = <3000000>; 353 353 354 regula 354 regulator-state-mem { 355 355 regulator-off-in-suspend; 356 }; 356 }; 357 }; 357 }; 358 358 359 buck1_reg: BUC 359 buck1_reg: BUCK1 { 360 regula 360 regulator-name = "vddarm"; 361 regula 361 regulator-min-microvolt = <750000>; 362 regula 362 regulator-max-microvolt = <1500000>; 363 363 364 regula 364 regulator-state-mem { 365 365 regulator-off-in-suspend; 366 366 regulator-suspend-microvolt = <1250000>; 367 }; 367 }; 368 }; 368 }; 369 369 370 buck2_reg: BUC 370 buck2_reg: BUCK2 { 371 regula 371 regulator-name = "vddint"; 372 regula 372 regulator-min-microvolt = <750000>; 373 regula 373 regulator-max-microvolt = <1500000>; 374 374 375 regula 375 regulator-state-mem { 376 376 regulator-off-in-suspend; 377 377 regulator-suspend-microvolt = <1100000>; 378 }; 378 }; 379 }; 379 }; 380 380 381 buck3_reg: BUC 381 buck3_reg: BUCK3 { 382 regula 382 regulator-name = "VCC_1.8V"; 383 regula 383 regulator-min-microvolt = <1800000>; 384 regula 384 regulator-max-microvolt = <1800000>; 385 regula 385 regulator-always-on; 386 }; 386 }; 387 387 388 buck4_reg: BUC 388 buck4_reg: BUCK4 { 389 regula 389 regulator-name = "CAM_ISP_CORE_1.2V"; 390 regula 390 regulator-min-microvolt = <1200000>; 391 regula 391 regulator-max-microvolt = <1200000>; 392 392 393 regula 393 regulator-state-mem { 394 394 regulator-off-in-suspend; 395 }; 395 }; 396 }; 396 }; 397 397 398 ap32khz_reg: E 398 ap32khz_reg: EN32KHz-AP { 399 regula 399 regulator-name = "32KHz AP"; 400 regula 400 regulator-always-on; 401 }; 401 }; 402 402 403 cp32khz_reg: E 403 cp32khz_reg: EN32KHz-CP { 404 regula 404 regulator-name = "32KHz CP"; 405 }; 405 }; 406 406 407 vichg_reg: ENV 407 vichg_reg: ENVICHG { 408 regula 408 regulator-name = "VICHG"; 409 regula 409 regulator-always-on; 410 }; 410 }; 411 411 412 safe1_sreg: ES 412 safe1_sreg: ESAFEOUT1 { 413 regula 413 regulator-name = "SAFEOUT1"; 414 }; 414 }; 415 415 416 safe2_sreg: ES 416 safe2_sreg: ESAFEOUT2 { 417 regula 417 regulator-name = "SAFEOUT2"; 418 }; 418 }; 419 }; 419 }; 420 }; 420 }; 421 }; 421 }; 422 422 423 i2c_musb: i2c-gpio-3 { 423 i2c_musb: i2c-gpio-3 { 424 compatible = "i2c-gpio"; 424 compatible = "i2c-gpio"; 425 sda-gpios = <&gpj3 4 (GPIO_ACT 425 sda-gpios = <&gpj3 4 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 426 scl-gpios = <&gpj3 5 (GPIO_ACT 426 scl-gpios = <&gpj3 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 427 i2c-gpio,delay-us = <2>; 427 i2c-gpio,delay-us = <2>; 428 #address-cells = <1>; 428 #address-cells = <1>; 429 #size-cells = <0>; 429 #size-cells = <0>; 430 430 431 pinctrl-names = "default"; 431 pinctrl-names = "default"; 432 pinctrl-0 = <&musb_i2c_pins>; 432 pinctrl-0 = <&musb_i2c_pins>; 433 433 434 fsa9480: musb@25 { 434 fsa9480: musb@25 { 435 compatible = "fcs,fsa9 435 compatible = "fcs,fsa9480"; 436 reg = <0x25>; 436 reg = <0x25>; 437 interrupt-parent = <&g 437 interrupt-parent = <&gph2>; 438 interrupts = <7 IRQ_TY 438 interrupts = <7 IRQ_TYPE_EDGE_FALLING>; 439 439 440 pinctrl-names = "defau 440 pinctrl-names = "default"; 441 pinctrl-0 = <&musb_irq 441 pinctrl-0 = <&musb_irq>; 442 }; 442 }; 443 }; 443 }; 444 444 445 i2c_fuel: i2c-gpio-4 { 445 i2c_fuel: i2c-gpio-4 { 446 compatible = "i2c-gpio"; 446 compatible = "i2c-gpio"; 447 sda-gpios = <&mp05 1 (GPIO_ACT 447 sda-gpios = <&mp05 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 448 scl-gpios = <&mp05 0 (GPIO_ACT 448 scl-gpios = <&mp05 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 449 i2c-gpio,delay-us = <2>; 449 i2c-gpio,delay-us = <2>; 450 #address-cells = <1>; 450 #address-cells = <1>; 451 #size-cells = <0>; 451 #size-cells = <0>; 452 452 453 pinctrl-names = "default"; 453 pinctrl-names = "default"; 454 pinctrl-0 = <&fg_i2c_pins>; 454 pinctrl-0 = <&fg_i2c_pins>; 455 455 456 fg: fuelgauge@36 { 456 fg: fuelgauge@36 { 457 compatible = "maxim,ma 457 compatible = "maxim,max17040"; 458 reg = <0x36>; 458 reg = <0x36>; 459 }; 459 }; 460 }; 460 }; 461 461 462 i2c_touchkey: i2c-gpio-5 { 462 i2c_touchkey: i2c-gpio-5 { 463 compatible = "i2c-gpio"; 463 compatible = "i2c-gpio"; 464 sda-gpios = <&gpj3 0 (GPIO_ACT 464 sda-gpios = <&gpj3 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 465 scl-gpios = <&gpj3 1 (GPIO_ACT 465 scl-gpios = <&gpj3 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 466 i2c-gpio,delay-us = <2>; 466 i2c-gpio,delay-us = <2>; 467 #address-cells = <1>; 467 #address-cells = <1>; 468 #size-cells = <0>; 468 #size-cells = <0>; 469 469 470 pinctrl-names = "default"; 470 pinctrl-names = "default"; 471 pinctrl-0 = <&touchkey_i2c_pin 471 pinctrl-0 = <&touchkey_i2c_pins>; 472 472 473 touchkey@20 { 473 touchkey@20 { 474 compatible = "cypress, 474 compatible = "cypress,aries-touchkey"; 475 reg = <0x20>; 475 reg = <0x20>; 476 vdd-supply = <&touchke 476 vdd-supply = <&touchkey_vdd>; 477 vcc-supply = <&buck3_r 477 vcc-supply = <&buck3_reg>; 478 linux,keycodes = <KEY_ 478 linux,keycodes = <KEY_MENU KEY_BACK 479 KEY_ 479 KEY_HOMEPAGE KEY_SEARCH>; 480 interrupt-parent = <&g 480 interrupt-parent = <&gpj4>; 481 interrupts = <1 IRQ_TY 481 interrupts = <1 IRQ_TYPE_LEVEL_LOW>; 482 482 483 pinctrl-names = "defau 483 pinctrl-names = "default"; 484 pinctrl-0 = <&touchkey 484 pinctrl-0 = <&touchkey_irq>; 485 }; 485 }; 486 }; 486 }; 487 487 488 i2c_prox: i2c-gpio-6 { 488 i2c_prox: i2c-gpio-6 { 489 compatible = "i2c-gpio"; 489 compatible = "i2c-gpio"; 490 sda-gpios = <&gpg2 2 (GPIO_ACT 490 sda-gpios = <&gpg2 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 491 scl-gpios = <&gpg0 2 (GPIO_ACT 491 scl-gpios = <&gpg0 2 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 492 i2c-gpio,delay-us = <2>; 492 i2c-gpio,delay-us = <2>; 493 #address-cells = <1>; 493 #address-cells = <1>; 494 #size-cells = <0>; 494 #size-cells = <0>; 495 495 496 pinctrl-names = "default"; 496 pinctrl-names = "default"; 497 pinctrl-0 = <&prox_i2c_pins>; 497 pinctrl-0 = <&prox_i2c_pins>; 498 498 499 light-sensor@44 { 499 light-sensor@44 { 500 compatible = "sharp,gp 500 compatible = "sharp,gp2ap002a00f"; 501 reg = <0x44>; 501 reg = <0x44>; 502 interrupt-parent = <&g 502 interrupt-parent = <&gph0>; 503 interrupts = <2 IRQ_TY 503 interrupts = <2 IRQ_TYPE_EDGE_FALLING>; 504 vdd-supply = <&gp2a_vl 504 vdd-supply = <&gp2a_vled>; 505 vio-supply = <&gp2a_vl 505 vio-supply = <&gp2a_vled>; 506 io-channels = <&gp2a_s 506 io-channels = <&gp2a_shunt>; 507 io-channel-names = "al 507 io-channel-names = "alsout"; 508 sharp,proximity-far-hy 508 sharp,proximity-far-hysteresis = /bits/ 8 <0x40>; 509 sharp,proximity-close- 509 sharp,proximity-close-hysteresis = /bits/ 8 <0x20>; 510 510 511 pinctrl-names = "defau 511 pinctrl-names = "default"; 512 pinctrl-0 = <&gp2a_irq 512 pinctrl-0 = <&gp2a_irq>; 513 }; 513 }; 514 }; 514 }; 515 515 516 i2c_magnetometer: i2c-gpio-7 { 516 i2c_magnetometer: i2c-gpio-7 { 517 compatible = "i2c-gpio"; 517 compatible = "i2c-gpio"; 518 sda-gpios = <&gpj0 1 (GPIO_ACT 518 sda-gpios = <&gpj0 1 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 519 scl-gpios = <&gpj0 0 (GPIO_ACT 519 scl-gpios = <&gpj0 0 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 520 i2c-gpio,delay-us = <2>; 520 i2c-gpio,delay-us = <2>; 521 #address-cells = <1>; 521 #address-cells = <1>; 522 #size-cells = <0>; 522 #size-cells = <0>; 523 523 524 pinctrl-names = "default"; 524 pinctrl-names = "default"; 525 pinctrl-0 = <&magnetometer_i2c 525 pinctrl-0 = <&magnetometer_i2c_pins>; 526 526 527 status = "disabled"; 527 status = "disabled"; 528 528 529 /* Yamaha yas529 magnetometer, 529 /* Yamaha yas529 magnetometer, no mainline binding */ 530 }; 530 }; 531 531 532 vibrator: pwm-vibrator { 532 vibrator: pwm-vibrator { 533 compatible = "pwm-vibrator"; 533 compatible = "pwm-vibrator"; 534 pwms = <&pwm 1 44642 0>; 534 pwms = <&pwm 1 44642 0>; 535 pwm-names = "enable"; 535 pwm-names = "enable"; 536 vcc-supply = <&vibrator_pwr>; 536 vcc-supply = <&vibrator_pwr>; 537 pinctrl-names = "default"; 537 pinctrl-names = "default"; 538 pinctrl-0 = <&pwm1_out>; 538 pinctrl-0 = <&pwm1_out>; 539 }; 539 }; 540 540 541 poweroff: syscon-poweroff { 541 poweroff: syscon-poweroff { 542 compatible = "syscon-poweroff" 542 compatible = "syscon-poweroff"; 543 regmap = <&pmu_syscon>; 543 regmap = <&pmu_syscon>; 544 offset = <0x681c>; /* PS_HOLD_ 544 offset = <0x681c>; /* PS_HOLD_CONTROL */ 545 value = <0x5200>; 545 value = <0x5200>; 546 }; 546 }; 547 547 548 spi_lcd: spi-2 { 548 spi_lcd: spi-2 { 549 compatible = "spi-gpio"; 549 compatible = "spi-gpio"; 550 #address-cells = <1>; 550 #address-cells = <1>; 551 #size-cells = <0>; 551 #size-cells = <0>; 552 552 553 sck-gpios = <&mp04 1 GPIO_ACTI 553 sck-gpios = <&mp04 1 GPIO_ACTIVE_HIGH>; 554 mosi-gpios = <&mp04 3 GPIO_ACT 554 mosi-gpios = <&mp04 3 GPIO_ACTIVE_HIGH>; 555 cs-gpios = <&mp01 1 GPIO_ACTIV 555 cs-gpios = <&mp01 1 GPIO_ACTIVE_HIGH>; 556 num-chipselects = <1>; 556 num-chipselects = <1>; 557 557 558 pinctrl-names = "default"; 558 pinctrl-names = "default"; 559 pinctrl-0 = <&lcd_spi_pins>; 559 pinctrl-0 = <&lcd_spi_pins>; 560 560 561 panel@0 { 561 panel@0 { 562 compatible = "samsung, 562 compatible = "samsung,s6e63m0"; 563 reg = <0>; 563 reg = <0>; 564 reset-gpios = <&mp05 5 564 reset-gpios = <&mp05 5 GPIO_ACTIVE_LOW>; 565 vdd3-supply = <&ldo7_r 565 vdd3-supply = <&ldo7_reg>; 566 vci-supply = <&ldo17_r 566 vci-supply = <&ldo17_reg>; 567 spi-max-frequency = <1 567 spi-max-frequency = <1200000>; 568 568 569 pinctrl-names = "defau 569 pinctrl-names = "default"; 570 pinctrl-0 = <&panel_rs 570 pinctrl-0 = <&panel_rst>; 571 571 572 port { 572 port { 573 lcd_ep: endpoi 573 lcd_ep: endpoint { 574 remote 574 remote-endpoint = <&fimd_ep>; 575 }; 575 }; 576 }; 576 }; 577 }; 577 }; 578 }; 578 }; 579 }; 579 }; 580 580 581 &adc { 581 &adc { 582 vdd-supply = <&ldo4_reg>; 582 vdd-supply = <&ldo4_reg>; 583 583 584 status = "okay"; 584 status = "okay"; 585 585 586 gp2a_shunt: current-sense-shunt { 586 gp2a_shunt: current-sense-shunt { 587 compatible = "current-sense-sh 587 compatible = "current-sense-shunt"; 588 io-channels = <&adc 9>; 588 io-channels = <&adc 9>; 589 shunt-resistor-micro-ohms = <4 589 shunt-resistor-micro-ohms = <47000000>; /* 47 ohms */ 590 #io-channel-cells = <0>; 590 #io-channel-cells = <0>; 591 }; 591 }; 592 }; 592 }; 593 593 594 &fimd { 594 &fimd { 595 pinctrl-names = "default"; 595 pinctrl-names = "default"; 596 pinctrl-0 = <&lcd_clk &lcd_data24>; 596 pinctrl-0 = <&lcd_clk &lcd_data24>; 597 status = "okay"; 597 status = "okay"; 598 598 599 samsung,invert-vden; 599 samsung,invert-vden; 600 samsung,invert-vclk; 600 samsung,invert-vclk; 601 601 602 #address-cells = <1>; 602 #address-cells = <1>; 603 #size-cells = <0>; 603 #size-cells = <0>; 604 604 605 port@3 { 605 port@3 { 606 reg = <3>; 606 reg = <3>; 607 fimd_ep: endpoint { 607 fimd_ep: endpoint { 608 remote-endpoint = <&lc 608 remote-endpoint = <&lcd_ep>; 609 }; 609 }; 610 }; 610 }; 611 }; 611 }; 612 612 613 &hsotg { 613 &hsotg { 614 vusb_a-supply = <&ldo8_reg>; 614 vusb_a-supply = <&ldo8_reg>; 615 vusb_d-supply = <&ldo3_reg>; 615 vusb_d-supply = <&ldo3_reg>; 616 dr_mode = "peripheral"; 616 dr_mode = "peripheral"; 617 status = "okay"; 617 status = "okay"; 618 }; 618 }; 619 619 620 &i2c2 { 620 &i2c2 { 621 samsung,i2c-sda-delay = <100>; 621 samsung,i2c-sda-delay = <100>; 622 samsung,i2c-max-bus-freq = <400000>; 622 samsung,i2c-max-bus-freq = <400000>; 623 samsung,i2c-slave-addr = <0x10>; 623 samsung,i2c-slave-addr = <0x10>; 624 status = "okay"; 624 status = "okay"; 625 625 626 touchscreen@4a { 626 touchscreen@4a { 627 compatible = "atmel,maxtouch"; 627 compatible = "atmel,maxtouch"; 628 reg = <0x4a>; 628 reg = <0x4a>; 629 interrupt-parent = <&gpj0>; 629 interrupt-parent = <&gpj0>; 630 interrupts = <5 IRQ_TYPE_EDGE_ 630 interrupts = <5 IRQ_TYPE_EDGE_FALLING>; 631 pinctrl-names = "default"; 631 pinctrl-names = "default"; 632 pinctrl-0 = <&ts_irq>; 632 pinctrl-0 = <&ts_irq>; 633 reset-gpios = <&gpj1 3 GPIO_AC 633 reset-gpios = <&gpj1 3 GPIO_ACTIVE_LOW>; 634 }; 634 }; 635 }; 635 }; 636 636 637 &i2s0 { 637 &i2s0 { 638 dmas = <&pdma0 10>, <&pdma0 9>, <&pdma 638 dmas = <&pdma0 10>, <&pdma0 9>, <&pdma0 11>; 639 status = "okay"; 639 status = "okay"; 640 }; 640 }; 641 641 642 &mfc { 642 &mfc { 643 memory-region = <&mfc_left>, <&mfc_rig 643 memory-region = <&mfc_left>, <&mfc_right>; 644 }; 644 }; 645 645 646 &pinctrl0 { 646 &pinctrl0 { 647 bt_reset: bt-reset-pins { 647 bt_reset: bt-reset-pins { 648 samsung,pins = "gpb-3"; 648 samsung,pins = "gpb-3"; 649 samsung,pin-function = <S5PV21 649 samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>; 650 samsung,pin-pud = <S5PV210_PIN 650 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 651 samsung,pin-drv = <S5PV210_PIN 651 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 652 }; 652 }; 653 653 654 wlan_bt_en: wlan-bt-en-pins { 654 wlan_bt_en: wlan-bt-en-pins { 655 samsung,pins = "gpb-5"; 655 samsung,pins = "gpb-5"; 656 samsung,pin-function = <S5PV21 656 samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>; 657 samsung,pin-pud = <S5PV210_PIN 657 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 658 samsung,pin-val = <1>; 658 samsung,pin-val = <1>; 659 }; 659 }; 660 660 661 codec_ldo: codec-ldo-pins { 661 codec_ldo: codec-ldo-pins { 662 samsung,pins = "gpf3-4"; 662 samsung,pins = "gpf3-4"; 663 samsung,pin-function = <S5PV21 663 samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>; 664 samsung,pin-pud = <S5PV210_PIN 664 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 665 }; 665 }; 666 666 667 prox_i2c_pins: gp2a-i2c-pins { 667 prox_i2c_pins: gp2a-i2c-pins { 668 samsung,pins = "gpg0-2", "gpg2 668 samsung,pins = "gpg0-2", "gpg2-2"; 669 samsung,pin-pud = <S5PV210_PIN 669 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 670 samsung,pin-drv = <S5PV210_PIN 670 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 671 }; 671 }; 672 672 673 wlan_gpio_rst: wlan-gpio-rst-pins { 673 wlan_gpio_rst: wlan-gpio-rst-pins { 674 samsung,pins = "gpg1-2"; 674 samsung,pins = "gpg1-2"; 675 samsung,pin-function = <S5PV21 675 samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>; 676 samsung,pin-pud = <S5PV210_PIN 676 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 677 }; 677 }; 678 678 679 bt_wake: bt-wake-pins { 679 bt_wake: bt-wake-pins { 680 samsung,pins = "gpg3-4"; 680 samsung,pins = "gpg3-4"; 681 samsung,pin-function = <S5PV21 681 samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>; 682 samsung,pin-pud = <S5PV210_PIN 682 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 683 }; 683 }; 684 684 685 gp2a_irq: gp2a-irq-pins { 685 gp2a_irq: gp2a-irq-pins { 686 samsung,pins = "gph0-2"; 686 samsung,pins = "gph0-2"; 687 samsung,pin-function = <S5PV21 687 samsung,pin-function = <S5PV210_PIN_FUNC_F>; 688 samsung,pin-pud = <S5PV210_PIN 688 samsung,pin-pud = <S5PV210_PIN_PULL_DOWN>; 689 samsung,pin-drv = <S5PV210_PIN 689 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 690 }; 690 }; 691 691 692 pmic_dvs_pins: pmic-dvs-pins { 692 pmic_dvs_pins: pmic-dvs-pins { 693 samsung,pins = "gph0-3", "gph0 693 samsung,pins = "gph0-3", "gph0-4", "gph0-5"; 694 samsung,pin-function = <S5PV21 694 samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>; 695 samsung,pin-pud = <S5PV210_PIN 695 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 696 samsung,pin-drv = <S5PV210_PIN 696 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 697 samsung,pin-val = <0>; 697 samsung,pin-val = <0>; 698 }; 698 }; 699 699 700 pmic_irq: pmic-irq-pins { 700 pmic_irq: pmic-irq-pins { 701 samsung,pins = "gph0-7"; 701 samsung,pins = "gph0-7"; 702 samsung,pin-function = <S5PV21 702 samsung,pin-function = <S5PV210_PIN_FUNC_F>; 703 samsung,pin-pud = <S5PV210_PIN 703 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 704 samsung,pin-drv = <S5PV210_PIN 704 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 705 }; 705 }; 706 706 707 wifi_host_wake: wifi-host-wake-pins { 707 wifi_host_wake: wifi-host-wake-pins { 708 samsung,pins = "gph2-4"; 708 samsung,pins = "gph2-4"; 709 samsung,pin-function = <S5PV21 709 samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>; 710 samsung,pin-pud = <S5PV210_PIN 710 samsung,pin-pud = <S5PV210_PIN_PULL_DOWN>; 711 samsung,pin-drv = <S5PV210_PIN 711 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 712 }; 712 }; 713 713 714 bt_host_wake: bt-host-wake-pins { 714 bt_host_wake: bt-host-wake-pins { 715 samsung,pins = "gph2-5"; 715 samsung,pins = "gph2-5"; 716 samsung,pin-function = <S5PV21 716 samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>; 717 samsung,pin-pud = <S5PV210_PIN 717 samsung,pin-pud = <S5PV210_PIN_PULL_DOWN>; 718 samsung,pin-drv = <S5PV210_PIN 718 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 719 }; 719 }; 720 720 721 musb_irq: musq-irq-pins { 721 musb_irq: musq-irq-pins { 722 samsung,pins = "gph2-7"; 722 samsung,pins = "gph2-7"; 723 samsung,pin-function = <S5PV21 723 samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>; 724 samsung,pin-pud = <S5PV210_PIN 724 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 725 samsung,pin-drv = <S5PV210_PIN 725 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 726 }; 726 }; 727 727 728 tf_detect: tf-detect-pins { 728 tf_detect: tf-detect-pins { 729 samsung,pins = "gph3-4"; 729 samsung,pins = "gph3-4"; 730 samsung,pin-function = <S5PV21 730 samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>; 731 samsung,pin-pud = <S5PV210_PIN 731 samsung,pin-pud = <S5PV210_PIN_PULL_DOWN>; 732 samsung,pin-drv = <S5PV210_PIN 732 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 733 }; 733 }; 734 734 735 wifi_wake: wifi-wake-pins { 735 wifi_wake: wifi-wake-pins { 736 samsung,pins = "gph3-5"; 736 samsung,pins = "gph3-5"; 737 samsung,pin-function = <S5PV21 737 samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>; 738 samsung,pin-pud = <S5PV210_PIN 738 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 739 }; 739 }; 740 740 741 magnetometer_i2c_pins: yas529-i2c-pins 741 magnetometer_i2c_pins: yas529-i2c-pins { 742 samsung,pins = "gpj0-0", "gpj0 742 samsung,pins = "gpj0-0", "gpj0-1"; 743 samsung,pin-pud = <S5PV210_PIN 743 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 744 samsung,pin-drv = <S5PV210_PIN 744 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 745 }; 745 }; 746 746 747 ts_irq: ts-irq-pins { 747 ts_irq: ts-irq-pins { 748 samsung,pins = "gpj0-5"; 748 samsung,pins = "gpj0-5"; 749 samsung,pin-function = <S5PV21 749 samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>; 750 samsung,pin-pud = <S5PV210_PIN 750 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 751 samsung,pin-drv = <S5PV210_PIN 751 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 752 }; 752 }; 753 753 754 vibrator_ena: vibrator-ena-pins { 754 vibrator_ena: vibrator-ena-pins { 755 samsung,pins = "gpj1-1"; 755 samsung,pins = "gpj1-1"; 756 samsung,pin-pud = <S5PV210_PIN 756 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 757 samsung,pin-drv = <S5PV210_PIN 757 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 758 }; 758 }; 759 759 760 gp2a_power: gp2a-power-pins { 760 gp2a_power: gp2a-power-pins { 761 samsung,pins = "gpj1-4"; 761 samsung,pins = "gpj1-4"; 762 samsung,pin-function = <S5PV21 762 samsung,pin-function = <S5PV210_PIN_FUNC_OUTPUT>; 763 samsung,pin-pud = <S5PV210_PIN 763 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 764 samsung,pin-drv = <S5PV210_PIN 764 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 765 }; 765 }; 766 766 767 touchkey_i2c_pins: touchkey-i2c-pins { 767 touchkey_i2c_pins: touchkey-i2c-pins { 768 samsung,pins = "gpj3-0", "gpj3 768 samsung,pins = "gpj3-0", "gpj3-1"; 769 samsung,pin-pud = <S5PV210_PIN 769 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 770 samsung,pin-drv = <S5PV210_PIN 770 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 771 }; 771 }; 772 772 773 touchkey_vdd_ena: touchkey-vdd-ena-pin 773 touchkey_vdd_ena: touchkey-vdd-ena-pins { 774 samsung,pins = "gpj3-2"; 774 samsung,pins = "gpj3-2"; 775 samsung,pin-pud = <S5PV210_PIN 775 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 776 samsung,pin-drv = <S5PV210_PIN 776 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 777 }; 777 }; 778 778 779 musb_i2c_pins: musb-i2c-pins { 779 musb_i2c_pins: musb-i2c-pins { 780 samsung,pins = "gpj3-4", "gpj3 780 samsung,pins = "gpj3-4", "gpj3-5"; 781 samsung,pin-pud = <S5PV210_PIN 781 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 782 samsung,pin-drv = <S5PV210_PIN 782 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 783 }; 783 }; 784 784 785 accel_i2c_pins: accel-i2c-pins { 785 accel_i2c_pins: accel-i2c-pins { 786 samsung,pins = "gpj3-6", "gpj3 786 samsung,pins = "gpj3-6", "gpj3-7"; 787 samsung,pin-pud = <S5PV210_PIN 787 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 788 samsung,pin-drv = <S5PV210_PIN 788 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 789 }; 789 }; 790 790 791 pmic_i2c_pins: pmic-i2c-pins { 791 pmic_i2c_pins: pmic-i2c-pins { 792 samsung,pins = "gpj4-0", "gpj4 792 samsung,pins = "gpj4-0", "gpj4-3"; 793 samsung,pin-pud = <S5PV210_PIN 793 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 794 samsung,pin-drv = <S5PV210_PIN 794 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 795 }; 795 }; 796 796 797 touchkey_irq: touchkey-irq-pins { 797 touchkey_irq: touchkey-irq-pins { 798 samsung,pins = "gpj4-1"; 798 samsung,pins = "gpj4-1"; 799 samsung,pin-function = <S5PV21 799 samsung,pin-function = <S5PV210_PIN_FUNC_INPUT>; 800 samsung,pin-pud = <S5PV210_PIN 800 samsung,pin-pud = <S5PV210_PIN_PULL_UP>; 801 samsung,pin-drv = <S5PV210_PIN 801 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 802 }; 802 }; 803 803 804 lcd_spi_pins: spi-lcd-pins { 804 lcd_spi_pins: spi-lcd-pins { 805 samsung,pins = "mp01-1", "mp04 805 samsung,pins = "mp01-1", "mp04-1", "mp04-3"; 806 samsung,pin-pud = <S5PV210_PIN 806 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 807 samsung,pin-drv = <S5PV210_PIN 807 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 808 }; 808 }; 809 809 810 fg_i2c_pins: fg-i2c-pins { 810 fg_i2c_pins: fg-i2c-pins { 811 samsung,pins = "mp05-0", "mp05 811 samsung,pins = "mp05-0", "mp05-1"; 812 samsung,pin-pud = <S5PV210_PIN 812 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 813 samsung,pin-drv = <S5PV210_PIN 813 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 814 }; 814 }; 815 815 816 sound_i2c_pins: sound-i2c-pins { 816 sound_i2c_pins: sound-i2c-pins { 817 samsung,pins = "mp05-2", "mp05 817 samsung,pins = "mp05-2", "mp05-3"; 818 samsung,pin-pud = <S5PV210_PIN 818 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 819 samsung,pin-drv = <S5PV210_PIN 819 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 820 }; 820 }; 821 821 822 panel_rst: panel-rst-pins { 822 panel_rst: panel-rst-pins { 823 samsung,pins = "mp05-5"; 823 samsung,pins = "mp05-5"; 824 samsung,pin-pud = <S5PV210_PIN 824 samsung,pin-pud = <S5PV210_PIN_PULL_NONE>; 825 samsung,pin-drv = <S5PV210_PIN 825 samsung,pin-drv = <S5PV210_PIN_DRV_LV1>; 826 }; 826 }; 827 }; 827 }; 828 828 829 &pwm { 829 &pwm { 830 samsung,pwm-outputs = <1>; 830 samsung,pwm-outputs = <1>; 831 }; 831 }; 832 832 833 &rtc { 833 &rtc { 834 clocks = <&clocks CLK_RTC>, <&pmic_ap_ 834 clocks = <&clocks CLK_RTC>, <&pmic_ap_clk>; 835 clock-names = "rtc", "rtc_src"; 835 clock-names = "rtc", "rtc_src"; 836 }; 836 }; 837 837 838 &sdhci1 { 838 &sdhci1 { 839 #address-cells = <1>; 839 #address-cells = <1>; 840 #size-cells = <0>; 840 #size-cells = <0>; 841 841 842 bus-width = <4>; 842 bus-width = <4>; 843 max-frequency = <38400000>; 843 max-frequency = <38400000>; 844 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bu 844 pinctrl-0 = <&sd1_clk &sd1_cmd &sd1_bus4 &wifi_wake &wifi_host_wake &wlan_bt_en>; 845 pinctrl-names = "default"; 845 pinctrl-names = "default"; 846 cap-sd-highspeed; 846 cap-sd-highspeed; 847 cap-mmc-highspeed; 847 cap-mmc-highspeed; 848 keep-power-in-suspend; 848 keep-power-in-suspend; 849 849 850 mmc-pwrseq = <&wifi_pwrseq>; 850 mmc-pwrseq = <&wifi_pwrseq>; 851 non-removable; 851 non-removable; 852 status = "okay"; 852 status = "okay"; 853 853 854 assigned-clocks = <&clocks MOUT_MMC1>, 854 assigned-clocks = <&clocks MOUT_MMC1>, <&clocks SCLK_MMC1>; 855 assigned-clock-rates = <0>, <50000000> 855 assigned-clock-rates = <0>, <50000000>; 856 assigned-clock-parents = <&clocks MOUT 856 assigned-clock-parents = <&clocks MOUT_MPLL>; 857 857 858 wlan@1 { 858 wlan@1 { 859 reg = <1>; 859 reg = <1>; 860 compatible = "brcm,bcm4329-fma 860 compatible = "brcm,bcm4329-fmac"; 861 interrupt-parent = <&gph2>; 861 interrupt-parent = <&gph2>; 862 interrupts = <4 IRQ_TYPE_LEVEL 862 interrupts = <4 IRQ_TYPE_LEVEL_HIGH>; 863 interrupt-names = "host-wake"; 863 interrupt-names = "host-wake"; 864 }; 864 }; 865 }; 865 }; 866 866 867 &sdhci2 { 867 &sdhci2 { 868 bus-width = <4>; 868 bus-width = <4>; 869 cd-gpios = <&gph3 4 GPIO_ACTIVE_LOW>; 869 cd-gpios = <&gph3 4 GPIO_ACTIVE_LOW>; 870 vmmc-supply = <&ldo5_reg>; 870 vmmc-supply = <&ldo5_reg>; 871 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bu 871 pinctrl-0 = <&sd2_clk &sd2_cmd &sd2_bus4 &tf_detect>; 872 pinctrl-names = "default"; 872 pinctrl-names = "default"; 873 status = "okay"; 873 status = "okay"; 874 874 875 assigned-clocks = <&clocks MOUT_MMC2>, 875 assigned-clocks = <&clocks MOUT_MMC2>, <&clocks SCLK_MMC2>; 876 assigned-clock-rates = <0>, <50000000> 876 assigned-clock-rates = <0>, <50000000>; 877 assigned-clock-parents = <&clocks MOUT 877 assigned-clock-parents = <&clocks MOUT_MPLL>; 878 }; 878 }; 879 879 880 &uart0 { 880 &uart0 { 881 assigned-clocks = <&clocks MOUT_UART0> 881 assigned-clocks = <&clocks MOUT_UART0>, <&clocks SCLK_UART0>; 882 assigned-clock-rates = <0>, <111166667 882 assigned-clock-rates = <0>, <111166667>; 883 assigned-clock-parents = <&clocks MOUT 883 assigned-clock-parents = <&clocks MOUT_MPLL>; 884 884 885 status = "okay"; 885 status = "okay"; 886 886 887 bluetooth { 887 bluetooth { 888 compatible = "brcm,bcm4329-bt" 888 compatible = "brcm,bcm4329-bt"; 889 max-speed = <3000000>; 889 max-speed = <3000000>; 890 pinctrl-names = "default"; 890 pinctrl-names = "default"; 891 pinctrl-0 = <&uart0_data &uart 891 pinctrl-0 = <&uart0_data &uart0_fctl &bt_host_wake 892 &bt_reset &bt_wak 892 &bt_reset &bt_wake>; 893 shutdown-gpios = <&gpb 3 GPIO_ 893 shutdown-gpios = <&gpb 3 GPIO_ACTIVE_HIGH>; 894 device-wakeup-gpios = <&gpg3 4 894 device-wakeup-gpios = <&gpg3 4 GPIO_ACTIVE_HIGH>; 895 interrupt-parent = <&gph2>; 895 interrupt-parent = <&gph2>; 896 interrupts = <5 IRQ_TYPE_LEVEL 896 interrupts = <5 IRQ_TYPE_LEVEL_HIGH>; 897 interrupt-names = "host-wakeup 897 interrupt-names = "host-wakeup"; 898 }; 898 }; 899 }; 899 }; 900 900 901 &uart1 { 901 &uart1 { 902 status = "okay"; 902 status = "okay"; 903 }; 903 }; 904 904 905 &uart2 { 905 &uart2 { 906 status = "okay"; 906 status = "okay"; 907 }; 907 }; 908 908 909 &usbphy { 909 &usbphy { 910 status = "okay"; 910 status = "okay"; 911 vbus-supply = <&safe1_sreg>; 911 vbus-supply = <&safe1_sreg>; 912 }; 912 }; 913 913 914 &xusbxti { 914 &xusbxti { 915 clock-frequency = <24000000>; 915 clock-frequency = <24000000>; 916 }; 916 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.