Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v5.2-rc2 505 lines 11 kB view raw
1/* 2 * Copyright 2013 Gateworks Corporation 3 * 4 * The code contained herein is licensed under the GNU General Public 5 * License. You may obtain a copy of the GNU General Public License 6 * Version 2 or later at the following locations: 7 * 8 * http://www.opensource.org/licenses/gpl-license.html 9 * http://www.gnu.org/copyleft/gpl.html 10 */ 11 12#include <dt-bindings/gpio/gpio.h> 13 14/ { 15 /* these are used by bootloader for disabling nodes */ 16 aliases { 17 led0 = &led0; 18 led1 = &led1; 19 nand = &gpmi; 20 usb0 = &usbh1; 21 usb1 = &usbotg; 22 }; 23 24 chosen { 25 bootargs = "console=ttymxc1,115200"; 26 }; 27 28 leds { 29 compatible = "gpio-leds"; 30 pinctrl-names = "default"; 31 pinctrl-0 = <&pinctrl_gpio_leds>; 32 33 led0: user1 { 34 label = "user1"; 35 gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDG */ 36 default-state = "on"; 37 linux,default-trigger = "heartbeat"; 38 }; 39 40 led1: user2 { 41 label = "user2"; 42 gpios = <&gpio4 7 GPIO_ACTIVE_HIGH>; /* MX6_PANLEDR */ 43 default-state = "off"; 44 }; 45 }; 46 47 memory@10000000 { 48 device_type = "memory"; 49 reg = <0x10000000 0x20000000>; 50 }; 51 52 pps { 53 compatible = "pps-gpio"; 54 pinctrl-names = "default"; 55 pinctrl-0 = <&pinctrl_pps>; 56 gpios = <&gpio1 26 GPIO_ACTIVE_HIGH>; 57 status = "okay"; 58 }; 59 60 reg_3p3v: regulator-3p3v { 61 compatible = "regulator-fixed"; 62 regulator-name = "3P3V"; 63 regulator-min-microvolt = <3300000>; 64 regulator-max-microvolt = <3300000>; 65 regulator-always-on; 66 }; 67 68 reg_5p0v: regulator-5p0v { 69 compatible = "regulator-fixed"; 70 regulator-name = "5P0V"; 71 regulator-min-microvolt = <5000000>; 72 regulator-max-microvolt = <5000000>; 73 regulator-always-on; 74 }; 75 76 reg_usb_otg_vbus: regulator-usb-otg-vbus { 77 compatible = "regulator-fixed"; 78 regulator-name = "usb_otg_vbus"; 79 regulator-min-microvolt = <5000000>; 80 regulator-max-microvolt = <5000000>; 81 gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; 82 enable-active-high; 83 }; 84}; 85 86&fec { 87 pinctrl-names = "default"; 88 pinctrl-0 = <&pinctrl_enet>; 89 phy-mode = "rgmii-id"; 90 phy-reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>; 91 status = "okay"; 92}; 93 94&gpmi { 95 pinctrl-names = "default"; 96 pinctrl-0 = <&pinctrl_gpmi_nand>; 97 status = "okay"; 98}; 99 100&hdmi { 101 ddc-i2c-bus = <&i2c3>; 102 status = "okay"; 103}; 104 105&i2c1 { 106 clock-frequency = <100000>; 107 pinctrl-names = "default"; 108 pinctrl-0 = <&pinctrl_i2c1>; 109 status = "okay"; 110 111 eeprom1: eeprom@50 { 112 compatible = "atmel,24c02"; 113 reg = <0x50>; 114 pagesize = <16>; 115 }; 116 117 eeprom2: eeprom@51 { 118 compatible = "atmel,24c02"; 119 reg = <0x51>; 120 pagesize = <16>; 121 }; 122 123 eeprom3: eeprom@52 { 124 compatible = "atmel,24c02"; 125 reg = <0x52>; 126 pagesize = <16>; 127 }; 128 129 eeprom4: eeprom@53 { 130 compatible = "atmel,24c02"; 131 reg = <0x53>; 132 pagesize = <16>; 133 }; 134 135 gpio: pca9555@23 { 136 compatible = "nxp,pca9555"; 137 reg = <0x23>; 138 gpio-controller; 139 #gpio-cells = <2>; 140 }; 141 142 rtc: ds1672@68 { 143 compatible = "dallas,ds1672"; 144 reg = <0x68>; 145 }; 146}; 147 148&i2c2 { 149 clock-frequency = <100000>; 150 pinctrl-names = "default"; 151 pinctrl-0 = <&pinctrl_i2c2>; 152 status = "okay"; 153 154 ltc3676: pmic@3c { 155 compatible = "lltc,ltc3676"; 156 reg = <0x3c>; 157 pinctrl-names = "default"; 158 pinctrl-0 = <&pinctrl_pmic>; 159 interrupt-parent = <&gpio1>; 160 interrupts = <8 IRQ_TYPE_EDGE_FALLING>; 161 162 regulators { 163 /* VDD_SOC (1+R1/R2 = 1.635) */ 164 reg_vdd_soc: sw1 { 165 regulator-name = "vddsoc"; 166 regulator-min-microvolt = <674400>; 167 regulator-max-microvolt = <1308000>; 168 lltc,fb-voltage-divider = <127000 200000>; 169 regulator-ramp-delay = <7000>; 170 regulator-boot-on; 171 regulator-always-on; 172 }; 173 174 /* VDD_1P8 (1+R1/R2 = 2.505): GPS/VideoIn/ENET-PHY */ 175 reg_1p8v: sw2 { 176 regulator-name = "vdd1p8"; 177 regulator-min-microvolt = <1033310>; 178 regulator-max-microvolt = <2004000>; 179 lltc,fb-voltage-divider = <301000 200000>; 180 regulator-ramp-delay = <7000>; 181 regulator-boot-on; 182 regulator-always-on; 183 }; 184 185 /* VDD_ARM (1+R1/R2 = 1.635) */ 186 reg_vdd_arm: sw3 { 187 regulator-name = "vddarm"; 188 regulator-min-microvolt = <674400>; 189 regulator-max-microvolt = <1308000>; 190 lltc,fb-voltage-divider = <127000 200000>; 191 regulator-ramp-delay = <7000>; 192 regulator-boot-on; 193 regulator-always-on; 194 }; 195 196 /* VDD_DDR (1+R1/R2 = 2.105) */ 197 reg_vdd_ddr: sw4 { 198 regulator-name = "vddddr"; 199 regulator-min-microvolt = <868310>; 200 regulator-max-microvolt = <1684000>; 201 lltc,fb-voltage-divider = <221000 200000>; 202 regulator-ramp-delay = <7000>; 203 regulator-boot-on; 204 regulator-always-on; 205 }; 206 207 /* VDD_2P5 (1+R1/R2 = 3.435): PCIe/ENET-PHY */ 208 reg_2p5v: ldo2 { 209 regulator-name = "vdd2p5"; 210 regulator-min-microvolt = <2490375>; 211 regulator-max-microvolt = <2490375>; 212 lltc,fb-voltage-divider = <487000 200000>; 213 regulator-boot-on; 214 regulator-always-on; 215 }; 216 217 /* VDD_HIGH (1+R1/R2 = 4.17) */ 218 reg_3p0v: ldo4 { 219 regulator-name = "vdd3p0"; 220 regulator-min-microvolt = <3023250>; 221 regulator-max-microvolt = <3023250>; 222 lltc,fb-voltage-divider = <634000 200000>; 223 regulator-boot-on; 224 regulator-always-on; 225 }; 226 }; 227 }; 228}; 229 230&i2c3 { 231 clock-frequency = <100000>; 232 pinctrl-names = "default"; 233 pinctrl-0 = <&pinctrl_i2c3>; 234 status = "okay"; 235 236 adv7180: camera@20 { 237 compatible = "adi,adv7180"; 238 pinctrl-names = "default"; 239 pinctrl-0 = <&pinctrl_adv7180>; 240 reg = <0x20>; 241 powerdown-gpios = <&gpio5 20 GPIO_ACTIVE_LOW>; 242 interrupt-parent = <&gpio5>; 243 interrupts = <23 IRQ_TYPE_LEVEL_LOW>; 244 245 port { 246 adv7180_to_ipu1_csi0_mux: endpoint { 247 remote-endpoint = <&ipu1_csi0_mux_from_parallel_sensor>; 248 bus-width = <8>; 249 }; 250 }; 251 }; 252}; 253 254&ipu1_csi0_from_ipu1_csi0_mux { 255 bus-width = <8>; 256}; 257 258&ipu1_csi0_mux_from_parallel_sensor { 259 remote-endpoint = <&adv7180_to_ipu1_csi0_mux>; 260 bus-width = <8>; 261}; 262 263&ipu1_csi0 { 264 pinctrl-names = "default"; 265 pinctrl-0 = <&pinctrl_ipu1_csi0>; 266}; 267 268&pcie { 269 pinctrl-names = "default"; 270 pinctrl-0 = <&pinctrl_pcie>; 271 reset-gpio = <&gpio1 0 GPIO_ACTIVE_LOW>; 272 status = "okay"; 273}; 274 275&pwm2 { 276 pinctrl-names = "default"; 277 pinctrl-0 = <&pinctrl_pwm2>; /* MX6_DIO1 */ 278 status = "disabled"; 279}; 280 281&pwm3 { 282 pinctrl-names = "default"; 283 pinctrl-0 = <&pinctrl_pwm3>; /* MX6_DIO2 */ 284 status = "disabled"; 285}; 286 287&pwm4 { 288 pinctrl-names = "default"; 289 pinctrl-0 = <&pinctrl_pwm4>; /* MX6_DIO3 */ 290 status = "disabled"; 291}; 292 293&uart1 { 294 pinctrl-names = "default"; 295 pinctrl-0 = <&pinctrl_uart1>; 296 status = "okay"; 297}; 298 299&uart2 { 300 pinctrl-names = "default"; 301 pinctrl-0 = <&pinctrl_uart2>; 302 status = "okay"; 303}; 304 305&uart3 { 306 pinctrl-names = "default"; 307 pinctrl-0 = <&pinctrl_uart3>; 308 status = "okay"; 309}; 310 311&uart5 { 312 pinctrl-names = "default"; 313 pinctrl-0 = <&pinctrl_uart5>; 314 status = "okay"; 315}; 316 317&usbotg { 318 vbus-supply = <&reg_usb_otg_vbus>; 319 pinctrl-names = "default"; 320 pinctrl-0 = <&pinctrl_usbotg>; 321 disable-over-current; 322 status = "okay"; 323}; 324 325&usbh1 { 326 status = "okay"; 327}; 328 329&wdog1 { 330 pinctrl-names = "default"; 331 pinctrl-0 = <&pinctrl_wdog>; 332 fsl,ext-reset-output; 333}; 334 335&iomuxc { 336 pinctrl_adv7180: adv7180grp { 337 fsl,pins = < 338 MX6QDL_PAD_CSI0_DAT5__GPIO5_IO23 0x0001b0b0 339 MX6QDL_PAD_CSI0_DATA_EN__GPIO5_IO20 0x4001b0b0 340 >; 341 }; 342 343 pinctrl_enet: enetgrp { 344 fsl,pins = < 345 MX6QDL_PAD_RGMII_RXC__RGMII_RXC 0x1b030 346 MX6QDL_PAD_RGMII_RD0__RGMII_RD0 0x1b030 347 MX6QDL_PAD_RGMII_RD1__RGMII_RD1 0x1b030 348 MX6QDL_PAD_RGMII_RD2__RGMII_RD2 0x1b030 349 MX6QDL_PAD_RGMII_RD3__RGMII_RD3 0x1b030 350 MX6QDL_PAD_RGMII_RX_CTL__RGMII_RX_CTL 0x1b030 351 MX6QDL_PAD_RGMII_TXC__RGMII_TXC 0x1b030 352 MX6QDL_PAD_RGMII_TD0__RGMII_TD0 0x1b030 353 MX6QDL_PAD_RGMII_TD1__RGMII_TD1 0x1b030 354 MX6QDL_PAD_RGMII_TD2__RGMII_TD2 0x1b030 355 MX6QDL_PAD_RGMII_TD3__RGMII_TD3 0x1b030 356 MX6QDL_PAD_RGMII_TX_CTL__RGMII_TX_CTL 0x1b030 357 MX6QDL_PAD_ENET_REF_CLK__ENET_TX_CLK 0x1b0b0 358 MX6QDL_PAD_ENET_MDIO__ENET_MDIO 0x1b0b0 359 MX6QDL_PAD_ENET_MDC__ENET_MDC 0x1b0b0 360 MX6QDL_PAD_GPIO_16__ENET_REF_CLK 0x4001b0a8 361 MX6QDL_PAD_ENET_TXD0__GPIO1_IO30 0x1b0b0 /* PHY Reset */ 362 >; 363 }; 364 365 pinctrl_gpio_leds: gpioledsgrp { 366 fsl,pins = < 367 MX6QDL_PAD_KEY_COL0__GPIO4_IO06 0x1b0b0 368 MX6QDL_PAD_KEY_ROW0__GPIO4_IO07 0x1b0b0 369 >; 370 }; 371 372 pinctrl_gpmi_nand: gpminandgrp { 373 fsl,pins = < 374 MX6QDL_PAD_NANDF_CLE__NAND_CLE 0xb0b1 375 MX6QDL_PAD_NANDF_ALE__NAND_ALE 0xb0b1 376 MX6QDL_PAD_NANDF_WP_B__NAND_WP_B 0xb0b1 377 MX6QDL_PAD_NANDF_RB0__NAND_READY_B 0xb000 378 MX6QDL_PAD_NANDF_CS0__NAND_CE0_B 0xb0b1 379 MX6QDL_PAD_SD4_CMD__NAND_RE_B 0xb0b1 380 MX6QDL_PAD_SD4_CLK__NAND_WE_B 0xb0b1 381 MX6QDL_PAD_NANDF_D0__NAND_DATA00 0xb0b1 382 MX6QDL_PAD_NANDF_D1__NAND_DATA01 0xb0b1 383 MX6QDL_PAD_NANDF_D2__NAND_DATA02 0xb0b1 384 MX6QDL_PAD_NANDF_D3__NAND_DATA03 0xb0b1 385 MX6QDL_PAD_NANDF_D4__NAND_DATA04 0xb0b1 386 MX6QDL_PAD_NANDF_D5__NAND_DATA05 0xb0b1 387 MX6QDL_PAD_NANDF_D6__NAND_DATA06 0xb0b1 388 MX6QDL_PAD_NANDF_D7__NAND_DATA07 0xb0b1 389 >; 390 }; 391 392 pinctrl_i2c1: i2c1grp { 393 fsl,pins = < 394 MX6QDL_PAD_EIM_D21__I2C1_SCL 0x4001b8b1 395 MX6QDL_PAD_EIM_D28__I2C1_SDA 0x4001b8b1 396 >; 397 }; 398 399 pinctrl_i2c2: i2c2grp { 400 fsl,pins = < 401 MX6QDL_PAD_KEY_COL3__I2C2_SCL 0x4001b8b1 402 MX6QDL_PAD_KEY_ROW3__I2C2_SDA 0x4001b8b1 403 >; 404 }; 405 406 pinctrl_i2c3: i2c3grp { 407 fsl,pins = < 408 MX6QDL_PAD_GPIO_3__I2C3_SCL 0x4001b8b1 409 MX6QDL_PAD_GPIO_6__I2C3_SDA 0x4001b8b1 410 >; 411 }; 412 413 pinctrl_ipu1_csi0: ipu1csi0grp { 414 fsl,pins = < 415 MX6QDL_PAD_CSI0_DAT12__IPU1_CSI0_DATA12 0x1b0b0 416 MX6QDL_PAD_CSI0_DAT13__IPU1_CSI0_DATA13 0x1b0b0 417 MX6QDL_PAD_CSI0_DAT14__IPU1_CSI0_DATA14 0x1b0b0 418 MX6QDL_PAD_CSI0_DAT15__IPU1_CSI0_DATA15 0x1b0b0 419 MX6QDL_PAD_CSI0_DAT16__IPU1_CSI0_DATA16 0x1b0b0 420 MX6QDL_PAD_CSI0_DAT17__IPU1_CSI0_DATA17 0x1b0b0 421 MX6QDL_PAD_CSI0_DAT18__IPU1_CSI0_DATA18 0x1b0b0 422 MX6QDL_PAD_CSI0_DAT19__IPU1_CSI0_DATA19 0x1b0b0 423 MX6QDL_PAD_CSI0_MCLK__IPU1_CSI0_HSYNC 0x1b0b0 424 MX6QDL_PAD_CSI0_VSYNC__IPU1_CSI0_VSYNC 0x1b0b0 425 MX6QDL_PAD_CSI0_PIXCLK__IPU1_CSI0_PIXCLK 0x1b0b0 426 >; 427 }; 428 429 pinctrl_pcie: pciegrp { 430 fsl,pins = < 431 MX6QDL_PAD_GPIO_0__GPIO1_IO00 0x1b0b0 432 >; 433 }; 434 435 pinctrl_pmic: pmicgrp { 436 fsl,pins = < 437 MX6QDL_PAD_GPIO_8__GPIO1_IO08 0x0001b0b0 /* PMIC_IRQ# */ 438 >; 439 }; 440 441 pinctrl_pps: ppsgrp { 442 fsl,pins = < 443 MX6QDL_PAD_ENET_RXD1__GPIO1_IO26 0x1b0b1 444 >; 445 }; 446 447 pinctrl_pwm2: pwm2grp { 448 fsl,pins = < 449 MX6QDL_PAD_SD1_DAT2__PWM2_OUT 0x1b0b1 450 >; 451 }; 452 453 pinctrl_pwm3: pwm3grp { 454 fsl,pins = < 455 MX6QDL_PAD_SD1_DAT1__PWM3_OUT 0x1b0b1 456 >; 457 }; 458 459 pinctrl_pwm4: pwm4grp { 460 fsl,pins = < 461 MX6QDL_PAD_SD1_CMD__PWM4_OUT 0x1b0b1 462 >; 463 }; 464 465 pinctrl_uart1: uart1grp { 466 fsl,pins = < 467 MX6QDL_PAD_SD3_DAT7__UART1_TX_DATA 0x1b0b1 468 MX6QDL_PAD_SD3_DAT6__UART1_RX_DATA 0x1b0b1 469 >; 470 }; 471 472 pinctrl_uart2: uart2grp { 473 fsl,pins = < 474 MX6QDL_PAD_SD4_DAT7__UART2_TX_DATA 0x1b0b1 475 MX6QDL_PAD_SD4_DAT4__UART2_RX_DATA 0x1b0b1 476 >; 477 }; 478 479 pinctrl_uart3: uart3grp { 480 fsl,pins = < 481 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 482 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 483 >; 484 }; 485 486 pinctrl_uart5: uart5grp { 487 fsl,pins = < 488 MX6QDL_PAD_KEY_COL1__UART5_TX_DATA 0x1b0b1 489 MX6QDL_PAD_KEY_ROW1__UART5_RX_DATA 0x1b0b1 490 >; 491 }; 492 493 pinctrl_usbotg: usbotggrp { 494 fsl,pins = < 495 MX6QDL_PAD_GPIO_1__USB_OTG_ID 0x17059 496 MX6QDL_PAD_EIM_D22__GPIO3_IO22 0x1b0b0 /* OTG_PWR_EN */ 497 >; 498 }; 499 500 pinctrl_wdog: wdoggrp { 501 fsl,pins = < 502 MX6QDL_PAD_DISP0_DAT8__WDOG1_B 0x1b0b0 503 >; 504 }; 505};