Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2019 André Hentschel <nerv@dawncrow.de>
0004  */
0005 /dts-v1/;
0006 
0007 #include "dm3725.dtsi"
0008 
0009 #include <dt-bindings/input/input.h>
0010 #include <dt-bindings/leds/common.h>
0011 
0012 / {
0013         model = "Amazon Echo (first generation)";
0014         compatible = "amazon,omap3-echo", "ti,omap3630", "ti,omap3";
0015 
0016         cpus {
0017                 cpu@0 {
0018                         cpu0-supply = <&vdd1_reg>;
0019                 };
0020         };
0021 
0022         memory@80000000 {
0023                 device_type = "memory";
0024                 reg = <0x80000000 0xc600000>; /* 198 MB */
0025         };
0026 
0027         vcc5v: fixedregulator0 {
0028                 compatible = "regulator-fixed";
0029                 regulator-name = "vcc5v";
0030                 regulator-min-microvolt = <5000000>;
0031                 regulator-max-microvolt = <5000000>;
0032                 regulator-boot-on;
0033                 regulator-always-on;
0034         };
0035 
0036         vcc3v3: fixedregulator1 {
0037                 compatible = "regulator-fixed";
0038                 regulator-name = "vcc3v3";
0039                 regulator-min-microvolt = <3300000>;
0040                 regulator-max-microvolt = <3300000>;
0041                 regulator-boot-on;
0042                 regulator-always-on;
0043         };
0044 
0045         vcc1v8: fixedregulator2 {
0046                 compatible = "regulator-fixed";
0047                 regulator-name = "vcc1v8";
0048                 regulator-min-microvolt = <1800000>;
0049                 regulator-max-microvolt = <1800000>;
0050                 regulator-boot-on;
0051                 regulator-always-on;
0052         };
0053 
0054         sdio_pwrseq: sdio-pwrseq {
0055                 compatible = "mmc-pwrseq-simple";
0056                 reset-gpios = <&gpio1 21 GPIO_ACTIVE_LOW>;
0057                 post-power-on-delay-ms = <40>;
0058         };
0059 
0060         gpio-keys {
0061                 compatible = "gpio-keys";
0062 
0063                 pinctrl-names = "default";
0064                 pinctrl-0 = <&button_pins>;
0065 
0066                 mute-button {
0067                         label = "mute";
0068                         linux,code = <KEY_MUTE>;
0069                         gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;     /* GPIO_70 */
0070                         wakeup-source;
0071                 };
0072 
0073                 help-button {
0074                         label = "help";
0075                         linux,code = <KEY_HELP>;
0076                         gpios = <&gpio3 8 GPIO_ACTIVE_LOW>;     /* GPIO_72 */
0077                         wakeup-source;
0078                 };
0079         };
0080 
0081         rotary: rotary-encoder {
0082                 compatible = "rotary-encoder";
0083                 gpios = <
0084                         &gpio3  5 GPIO_ACTIVE_HIGH /* GPIO_69 */
0085                         &gpio3 12 GPIO_ACTIVE_HIGH /* GPIO_76 */
0086                 >;
0087                 linux,axis = <REL_X>;
0088                 rotary-encoder,relative-axis;
0089         };
0090 
0091         speaker_amp: speaker-amplifier {
0092                 compatible = "simple-audio-amplifier";
0093                 enable-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;     /* gpio_129 */
0094                 sound-name-prefix = "Speaker Amp";
0095                 VCC-supply = <&vcc1v8>;
0096         };
0097 
0098         sound {
0099                 compatible = "simple-audio-card";
0100                 simple-audio-card,name = "Misto Speaker";
0101                 simple-audio-card,widgets =
0102                         "Speaker", "Speaker";
0103                 simple-audio-card,routing =
0104                         "Speaker Amp INL", "HPL",
0105                         "Speaker Amp INR", "HPR",
0106                         "Speaker", "Speaker Amp OUTL",
0107                         "Speaker", "Speaker Amp OUTR";
0108                 simple-audio-card,format = "i2s";
0109                 simple-audio-card,bitclock-master = <&sound_master>;
0110                 simple-audio-card,frame-master = <&sound_master>;
0111                 simple-audio-card,aux-devs = <&speaker_amp>;
0112 
0113                 simple-audio-card,cpu {
0114                         sound-dai = <&mcbsp2>;
0115                 };
0116 
0117                 sound_master: simple-audio-card,codec {
0118                         sound-dai = <&codec0>;
0119                         system-clock-frequency = <19200000>;
0120                 };
0121         };
0122 };
0123 
0124 &i2c1 {
0125         clock-frequency = <400000>;
0126 
0127         tps: tps@2d {
0128                 reg = <0x2d>;
0129         };
0130 };
0131 
0132 &mcbsp2 {
0133         status = "okay";
0134         #sound-dai-cells = <0>;
0135         pinctrl-names = "default";
0136         pinctrl-0 = <&mcbsp2_pins>;
0137 };
0138 
0139 &i2c2 {
0140         clock-frequency = <400000>;
0141 
0142         lp5523A: lp5523A@32 {
0143                 #address-cells = <1>;
0144                 #size-cells = <0>;
0145                 compatible = "national,lp5523";
0146                 label = "q1";
0147                 reg = <0x32>;
0148                 clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
0149                 enable-gpio = <&gpio4 13 GPIO_ACTIVE_HIGH>; /* GPIO_109 */
0150 
0151                 multi-led@0 {
0152                         #address-cells = <1>;
0153                         #size-cells = <0>;
0154                         reg = <0x0>;
0155                         color = <LED_COLOR_ID_RGB>;
0156 
0157                         led@0 {
0158                                 led-cur = /bits/ 8 <12>;
0159                                 max-cur = /bits/ 8 <15>;
0160                                 reg = <0x0>;
0161                                 color = <LED_COLOR_ID_GREEN>;
0162                         };
0163 
0164                         led@1 {
0165                                 led-cur = /bits/ 8 <12>;
0166                                 max-cur = /bits/ 8 <15>;
0167                                 reg = <0x1>;
0168                                 color = <LED_COLOR_ID_BLUE>;
0169                         };
0170 
0171                         led@6 {
0172                                 led-cur = /bits/ 8 <12>;
0173                                 max-cur = /bits/ 8 <15>;
0174                                 reg = <0x6>;
0175                                 color = <LED_COLOR_ID_RED>;
0176                         };
0177                 };
0178                 multi-led@1 {
0179                         #address-cells = <1>;
0180                         #size-cells = <0>;
0181                         reg = <0x1>;
0182                         color = <LED_COLOR_ID_RGB>;
0183 
0184                         led@2 {
0185                                 led-cur = /bits/ 8 <12>;
0186                                 max-cur = /bits/ 8 <15>;
0187                                 reg = <0x2>;
0188                                 color = <LED_COLOR_ID_GREEN>;
0189                         };
0190 
0191                         led@3 {
0192                                 led-cur = /bits/ 8 <12>;
0193                                 max-cur = /bits/ 8 <15>;
0194                                 reg = <0x3>;
0195                                 color = <LED_COLOR_ID_BLUE>;
0196                         };
0197 
0198                         led@7 {
0199                                 led-cur = /bits/ 8 <12>;
0200                                 max-cur = /bits/ 8 <15>;
0201                                 reg = <0x7>;
0202                                 color = <LED_COLOR_ID_RED>;
0203                         };
0204                 };
0205                 multi-led@2 {
0206                         #address-cells = <1>;
0207                         #size-cells = <0>;
0208                         reg = <0x2>;
0209                         color = <LED_COLOR_ID_RGB>;
0210 
0211                         led@4 {
0212                                 led-cur = /bits/ 8 <12>;
0213                                 max-cur = /bits/ 8 <15>;
0214                                 reg = <0x4>;
0215                                 color = <LED_COLOR_ID_GREEN>;
0216                         };
0217 
0218                         led@5 {
0219                                 led-cur = /bits/ 8 <12>;
0220                                 max-cur = /bits/ 8 <15>;
0221                                 reg = <0x5>;
0222                                 color = <LED_COLOR_ID_BLUE>;
0223                         };
0224 
0225                         led@8 {
0226                                 led-cur = /bits/ 8 <12>;
0227                                 max-cur = /bits/ 8 <15>;
0228                                 reg = <0x8>;
0229                                 color = <LED_COLOR_ID_RED>;
0230                         };
0231                 };
0232         };
0233 
0234         lp5523B: lp5523B@33 {
0235                 #address-cells = <1>;
0236                 #size-cells = <0>;
0237                 compatible = "national,lp5523";
0238                 label = "q3";
0239                 reg = <0x33>;
0240                 clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
0241 
0242                 multi-led@0 {
0243                         #address-cells = <1>;
0244                         #size-cells = <0>;
0245                         reg = <0x0>;
0246                         color = <LED_COLOR_ID_RGB>;
0247 
0248                         led@0 {
0249                                 led-cur = /bits/ 8 <12>;
0250                                 max-cur = /bits/ 8 <15>;
0251                                 reg = <0x0>;
0252                                 color = <LED_COLOR_ID_GREEN>;
0253                         };
0254 
0255                         led@1 {
0256                                 led-cur = /bits/ 8 <12>;
0257                                 max-cur = /bits/ 8 <15>;
0258                                 reg = <0x1>;
0259                                 color = <LED_COLOR_ID_BLUE>;
0260                         };
0261 
0262                         led@6 {
0263                                 led-cur = /bits/ 8 <12>;
0264                                 max-cur = /bits/ 8 <15>;
0265                                 reg = <0x6>;
0266                                 color = <LED_COLOR_ID_RED>;
0267                         };
0268                 };
0269                 multi-led@1 {
0270                         #address-cells = <1>;
0271                         #size-cells = <0>;
0272                         reg = <0x1>;
0273                         color = <LED_COLOR_ID_RGB>;
0274 
0275                         led@2 {
0276                                 led-cur = /bits/ 8 <12>;
0277                                 max-cur = /bits/ 8 <15>;
0278                                 reg = <0x2>;
0279                                 color = <LED_COLOR_ID_GREEN>;
0280                         };
0281 
0282                         led@3 {
0283                                 led-cur = /bits/ 8 <12>;
0284                                 max-cur = /bits/ 8 <15>;
0285                                 reg = <0x3>;
0286                                 color = <LED_COLOR_ID_BLUE>;
0287                         };
0288 
0289                         led@7 {
0290                                 led-cur = /bits/ 8 <12>;
0291                                 max-cur = /bits/ 8 <15>;
0292                                 reg = <0x7>;
0293                                 color = <LED_COLOR_ID_RED>;
0294                         };
0295                 };
0296                 multi-led@2 {
0297                         #address-cells = <1>;
0298                         #size-cells = <0>;
0299                         reg = <0x2>;
0300                         color = <LED_COLOR_ID_RGB>;
0301 
0302                         led@4 {
0303                                 led-cur = /bits/ 8 <12>;
0304                                 max-cur = /bits/ 8 <15>;
0305                                 reg = <0x4>;
0306                                 color = <LED_COLOR_ID_GREEN>;
0307                         };
0308 
0309                         led@5 {
0310                                 led-cur = /bits/ 8 <12>;
0311                                 max-cur = /bits/ 8 <15>;
0312                                 reg = <0x5>;
0313                                 color = <LED_COLOR_ID_BLUE>;
0314                         };
0315 
0316                         led@8 {
0317                                 led-cur = /bits/ 8 <12>;
0318                                 max-cur = /bits/ 8 <15>;
0319                                 reg = <0x8>;
0320                                 color = <LED_COLOR_ID_RED>;
0321                         };
0322                 };
0323         };
0324 
0325         lp5523C: lp5523C@34 {
0326                 #address-cells = <1>;
0327                 #size-cells = <0>;
0328                 compatible = "national,lp5523";
0329                 label = "q4";
0330                 reg = <0x34>;
0331                 clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
0332 
0333                 multi-led@0 {
0334                         #address-cells = <1>;
0335                         #size-cells = <0>;
0336                         reg = <0x0>;
0337                         color = <LED_COLOR_ID_RGB>;
0338 
0339                         led@0 {
0340                                 led-cur = /bits/ 8 <12>;
0341                                 max-cur = /bits/ 8 <15>;
0342                                 reg = <0x0>;
0343                                 color = <LED_COLOR_ID_GREEN>;
0344                         };
0345 
0346                         led@1 {
0347                                 led-cur = /bits/ 8 <12>;
0348                                 max-cur = /bits/ 8 <15>;
0349                                 reg = <0x1>;
0350                                 color = <LED_COLOR_ID_BLUE>;
0351                         };
0352 
0353                         led@6 {
0354                                 led-cur = /bits/ 8 <12>;
0355                                 max-cur = /bits/ 8 <15>;
0356                                 reg = <0x6>;
0357                                 color = <LED_COLOR_ID_RED>;
0358                         };
0359                 };
0360                 multi-led@1 {
0361                         #address-cells = <1>;
0362                         #size-cells = <0>;
0363                         reg = <0x1>;
0364                         color = <LED_COLOR_ID_RGB>;
0365 
0366                         led@2 {
0367                                 led-cur = /bits/ 8 <12>;
0368                                 max-cur = /bits/ 8 <15>;
0369                                 reg = <0x2>;
0370                                 color = <LED_COLOR_ID_GREEN>;
0371                         };
0372 
0373                         led@3 {
0374                                 led-cur = /bits/ 8 <12>;
0375                                 max-cur = /bits/ 8 <15>;
0376                                 reg = <0x3>;
0377                                 color = <LED_COLOR_ID_BLUE>;
0378                         };
0379 
0380                         led@7 {
0381                                 led-cur = /bits/ 8 <12>;
0382                                 max-cur = /bits/ 8 <15>;
0383                                 reg = <0x7>;
0384                                 color = <LED_COLOR_ID_RED>;
0385                         };
0386                 };
0387                 multi-led@2 {
0388                         #address-cells = <1>;
0389                         #size-cells = <0>;
0390                         reg = <0x2>;
0391                         color = <LED_COLOR_ID_RGB>;
0392 
0393                         led@4 {
0394                                 led-cur = /bits/ 8 <12>;
0395                                 max-cur = /bits/ 8 <15>;
0396                                 reg = <0x4>;
0397                                 color = <LED_COLOR_ID_GREEN>;
0398                         };
0399 
0400                         led@5 {
0401                                 led-cur = /bits/ 8 <12>;
0402                                 max-cur = /bits/ 8 <15>;
0403                                 reg = <0x5>;
0404                                 color = <LED_COLOR_ID_BLUE>;
0405                         };
0406 
0407                         led@8 {
0408                                 led-cur = /bits/ 8 <12>;
0409                                 max-cur = /bits/ 8 <15>;
0410                                 reg = <0x8>;
0411                                 color = <LED_COLOR_ID_RED>;
0412                         };
0413                 };
0414         };
0415 
0416         lp5523D: lp552D@35 {
0417                 #address-cells = <1>;
0418                 #size-cells = <0>;
0419                 compatible = "national,lp5523";
0420                 label = "q2";
0421                 reg = <0x35>;
0422                 clock-mode = /bits/ 8 <0>; /* LP55XX_CLOCK_AUTO */
0423 
0424                 multi-led@0 {
0425                         #address-cells = <1>;
0426                         #size-cells = <0>;
0427                         reg = <0x0>;
0428                         color = <LED_COLOR_ID_RGB>;
0429 
0430                         led@0 {
0431                                 led-cur = /bits/ 8 <12>;
0432                                 max-cur = /bits/ 8 <15>;
0433                                 reg = <0x0>;
0434                                 color = <LED_COLOR_ID_GREEN>;
0435                         };
0436 
0437                         led@1 {
0438                                 led-cur = /bits/ 8 <12>;
0439                                 max-cur = /bits/ 8 <15>;
0440                                 reg = <0x1>;
0441                                 color = <LED_COLOR_ID_BLUE>;
0442                         };
0443 
0444                         led@6 {
0445                                 led-cur = /bits/ 8 <12>;
0446                                 max-cur = /bits/ 8 <15>;
0447                                 reg = <0x6>;
0448                                 color = <LED_COLOR_ID_RED>;
0449                         };
0450                 };
0451                 multi-led@1 {
0452                         #address-cells = <1>;
0453                         #size-cells = <0>;
0454                         reg = <0x1>;
0455                         color = <LED_COLOR_ID_RGB>;
0456 
0457                         led@2 {
0458                                 led-cur = /bits/ 8 <12>;
0459                                 max-cur = /bits/ 8 <15>;
0460                                 reg = <0x2>;
0461                                 color = <LED_COLOR_ID_GREEN>;
0462                         };
0463 
0464                         led@3 {
0465                                 led-cur = /bits/ 8 <12>;
0466                                 max-cur = /bits/ 8 <15>;
0467                                 reg = <0x3>;
0468                                 color = <LED_COLOR_ID_BLUE>;
0469                         };
0470 
0471                         led@7 {
0472                                 led-cur = /bits/ 8 <12>;
0473                                 max-cur = /bits/ 8 <15>;
0474                                 reg = <0x7>;
0475                                 color = <LED_COLOR_ID_RED>;
0476                         };
0477                 };
0478                 multi-led@2 {
0479                         #address-cells = <1>;
0480                         #size-cells = <0>;
0481                         reg = <0x2>;
0482                         color = <LED_COLOR_ID_RGB>;
0483 
0484                         led@4 {
0485                                 led-cur = /bits/ 8 <12>;
0486                                 max-cur = /bits/ 8 <15>;
0487                                 reg = <0x4>;
0488                                 color = <LED_COLOR_ID_GREEN>;
0489                         };
0490 
0491                         led@5 {
0492                                 led-cur = /bits/ 8 <12>;
0493                                 max-cur = /bits/ 8 <15>;
0494                                 reg = <0x5>;
0495                                 color = <LED_COLOR_ID_BLUE>;
0496                         };
0497 
0498                         led@8 {
0499                                 led-cur = /bits/ 8 <12>;
0500                                 max-cur = /bits/ 8 <15>;
0501                                 reg = <0x8>;
0502                                 color = <LED_COLOR_ID_RED>;
0503                         };
0504                 };
0505         };
0506 };
0507 
0508 &i2c3 {
0509         clock-frequency = <400000>;
0510 
0511         codec0: codec@18 {
0512                 #sound-dai-cells = <0>;
0513                 compatible = "ti,tlv320aic32x4";
0514                 reg = <0x18>;
0515                 clocks = <&sys_clkout1>;
0516                 clock-names = "mclk";
0517                 ldoin-supply = <&vcc1v8>;
0518                 iov-supply = <&vcc1v8>;
0519                 reset-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;      /* gpio_74 */
0520         };
0521 };
0522 
0523 
0524 #include "tps65910.dtsi"
0525 
0526 &omap3_pmx_core {
0527         tps_pins: pinmux_tps_pins {
0528                 pinctrl-single,pins = <
0529                         OMAP3_CORE1_IOPAD(0x21e0, PIN_INPUT_PULLUP | PIN_OFF_INPUT_PULLUP | PIN_OFF_OUTPUT_LOW | PIN_OFF_WAKEUPENABLE | MUX_MODE0) /* sys_nirq.sys_nirq */
0530                 >;
0531         };
0532 
0533         button_pins: pinmux_button_pins {
0534                 pinctrl-single,pins = <
0535                         OMAP3_CORE1_IOPAD(0x20dc, PIN_INPUT | MUX_MODE4)        /* dss_data0.gpio_70 */
0536                         OMAP3_CORE1_IOPAD(0x20e0, PIN_INPUT | MUX_MODE4)        /* dss_data2.gpio_72 */
0537                         OMAP3_CORE1_IOPAD(0x20e4, PIN_OUTPUT | MUX_MODE4)       /* dss_data4.gpio_74 */
0538                         OMAP3_CORE1_IOPAD(0x20fa, PIN_OUTPUT_PULLDOWN | MUX_MODE4)      /* dss_data15.gpio_85 */
0539                         OMAP3_CORE1_IOPAD(0x2a1a, PIN_OUTPUT | MUX_MODE0)       /* sys_clkout1.sys_clkout1 */
0540                 >;
0541         };
0542 
0543         mmc1_pins: pinmux_mmc1_pins {
0544                 pinctrl-single,pins = <
0545                         OMAP3_CORE1_IOPAD(0x2144, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc1_clk.sdmmc1_clk */
0546                         OMAP3_CORE1_IOPAD(0x2146, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc1_cmd.sdmmc1_cmd */
0547                         OMAP3_CORE1_IOPAD(0x2148, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc1_dat0.sdmmc1_dat0 */
0548                         OMAP3_CORE1_IOPAD(0x214a, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc1_dat1.sdmmc1_dat1 */
0549                         OMAP3_CORE1_IOPAD(0x214c, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc1_dat2.sdmmc1_dat2 */
0550                         OMAP3_CORE1_IOPAD(0x214e, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc1_dat3.sdmmc1_dat3 */
0551                 >;
0552         };
0553 
0554         mmc2_pins: pinmux_mmc2_pins {
0555                 pinctrl-single,pins = <
0556                         OMAP3_CORE1_IOPAD(0x2158, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_clk.sdmmc2_clk */
0557                         OMAP3_CORE1_IOPAD(0x215a, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_cmd.sdmmc2_cmd */
0558                         OMAP3_CORE1_IOPAD(0x215c, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat0.sdmmc2_dat0 */
0559                         OMAP3_CORE1_IOPAD(0x215e, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat1.sdmmc2_dat1 */
0560                         OMAP3_CORE1_IOPAD(0x2160, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat2.sdmmc2_dat2 */
0561                         OMAP3_CORE1_IOPAD(0x2162, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat3.sdmmc2_dat3 */
0562                         OMAP3_CORE1_IOPAD(0x2164, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat4.sdmmc2_dat4 */
0563                         OMAP3_CORE1_IOPAD(0x2166, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat5.sdmmc2_dat5 */
0564                         OMAP3_CORE1_IOPAD(0x2168, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat6.sdmmc2_dat6 */
0565                         OMAP3_CORE1_IOPAD(0x216a, PIN_INPUT_PULLUP | MUX_MODE0)         /* sdmmc2_dat7.sdmmc2_dat7 */
0566                 >;
0567         };
0568 
0569         mcbsp2_pins: pinmux_mcbsp2_pins {
0570                 pinctrl-single,pins = <
0571                         OMAP3_CORE1_IOPAD(0x213c, PIN_INPUT | MUX_MODE0)        /* mcbsp2_fsx.mcbsp2_fsx */
0572                         OMAP3_CORE1_IOPAD(0x213e, PIN_INPUT | MUX_MODE0)        /* mcbsp2_clkx.mcbsp2_clkx */
0573                         OMAP3_CORE1_IOPAD(0x2140, PIN_INPUT | MUX_MODE0)        /* mcbsp2_dr.mcbsp2.dr */
0574                         OMAP3_CORE1_IOPAD(0x2142, PIN_OUTPUT | MUX_MODE0)       /* mcbsp2_dx.mcbsp2_dx */
0575                 >;
0576         };
0577 };
0578 
0579 &omap3_pmx_core2 {
0580         mmc3_pins: pinmux_mmc3_pins {
0581                 pinctrl-single,pins = <
0582                         OMAP3630_CORE2_IOPAD(0x25d8, PIN_INPUT_PULLUP | MUX_MODE2)      /* etk_clk.sdmmc3_clk */
0583                         OMAP3630_CORE2_IOPAD(0x25da, PIN_INPUT_PULLUP | MUX_MODE2)      /* etk_ctl.sdmmc3_cmd */
0584                         OMAP3630_CORE2_IOPAD(0x25e2, PIN_INPUT_PULLUP | MUX_MODE2)      /* etk_d3.sdmmc3_dat3 */
0585                         OMAP3630_CORE2_IOPAD(0x25e4, PIN_INPUT_PULLUP | MUX_MODE2)      /* etk_d4.sdmmc3_dat0 */
0586                         OMAP3630_CORE2_IOPAD(0x25e6, PIN_INPUT_PULLUP | MUX_MODE2)      /* etk_d5.sdmmc3_dat1 */
0587                         OMAP3630_CORE2_IOPAD(0x25e8, PIN_INPUT_PULLUP | MUX_MODE2)      /* etk_d6.sdmmc3_dat2 */
0588                 >;
0589         };
0590 };
0591 
0592 &mmc1 {
0593         status = "okay";
0594         bus-width = <4>;
0595         pinctrl-names = "default";
0596         pinctrl-0 = <&mmc1_pins>;
0597         vmmc-supply = <&vmmc_reg>;
0598 };
0599 
0600 &mmc2 {
0601         status = "okay";
0602         bus-width = <8>;
0603         pinctrl-names = "default";
0604         pinctrl-0 = <&mmc2_pins>;
0605         vmmc-supply = <&vmmc_reg>;
0606 };
0607 
0608 &mmc3 {
0609         #address-cells = <1>;
0610         #size-cells = <0>;
0611         status = "okay";
0612         bus-width = <4>;
0613         pinctrl-names = "default";
0614         pinctrl-0 = <&mmc3_pins>;
0615         non-removable;
0616         disable-wp;
0617         mmc-pwrseq = <&sdio_pwrseq>;
0618         vmmc-supply = <&vcc3v3>;
0619         vqmmc-supply = <&vcc1v8>;
0620         atheros@0 {
0621                 compatible = "atheros,ath6kl";
0622                 reg = <0>;
0623                 bus-width = <4>;
0624         };
0625 };
0626 
0627 &tps {
0628         pinctrl-names = "default";
0629         pinctrl-0 = <&tps_pins>;
0630 
0631         interrupts = <7>; /* SYS_NIRQ cascaded to intc */
0632         interrupt-parent = <&intc>;
0633 
0634         ti,en-ck32k-xtal;
0635         ti,system-power-controller;
0636 
0637         vcc1-supply = <&vcc5v>;
0638         vcc2-supply = <&vcc5v>;
0639         vcc3-supply = <&vcc5v>;
0640         vcc4-supply = <&vcc5v>;
0641         vcc5-supply = <&vcc5v>;
0642         vcc6-supply = <&vcc5v>;
0643         vcc7-supply = <&vcc5v>;
0644         vccio-supply = <&vcc5v>;
0645 
0646         regulators {
0647 
0648                 vio_reg: regulator@1 {
0649                         regulator-min-microvolt = <1800000>;
0650                         regulator-max-microvolt = <1800000>;
0651                         regulator-always-on;
0652                 };
0653 
0654                 vdd1_reg: regulator@2 {
0655                         regulator-name = "vdd_mpu";
0656                         regulator-min-microvolt = <600000>;
0657                         regulator-max-microvolt = <1500000>;
0658                         regulator-boot-on;
0659                         regulator-always-on;
0660                 };
0661 
0662                 vdd2_reg: regulator@3 {
0663                         regulator-name = "vdd_dsp";
0664                         regulator-min-microvolt = <600000>;
0665                         regulator-max-microvolt = <1500000>;
0666                         regulator-always-on;
0667                 };
0668 
0669                 vdd3_reg: regulator@4 {
0670                         regulator-name = "vdd_core";
0671                         regulator-min-microvolt = <5000000>;
0672                         regulator-max-microvolt = <5000000>;
0673                         regulator-always-on;
0674                 };
0675 
0676                 vdig1_reg: regulator@5 {
0677                         regulator-min-microvolt = <1200000>;
0678                         regulator-max-microvolt = <2700000>;
0679                         regulator-always-on;
0680                 };
0681 
0682                 vdig2_reg: regulator@6 {
0683                         regulator-min-microvolt = <1000000>;
0684                         regulator-max-microvolt = <1800000>;
0685                         regulator-always-on;
0686                 };
0687 
0688                 vpll_reg: regulator@7 {
0689                         regulator-min-microvolt = <1000000>;
0690                         regulator-max-microvolt = <2500000>;
0691                         regulator-always-on;
0692                 };
0693 
0694                 vdac_reg: regulator@8 {
0695                         regulator-min-microvolt = <1100000>;
0696                         regulator-max-microvolt = <3300000>;
0697                         regulator-always-on;
0698                 };
0699 
0700                 vaux1_reg: regulator@9 {
0701                         regulator-min-microvolt = <1800000>;
0702                         regulator-max-microvolt = <2850000>;
0703                         regulator-always-on;
0704                 };
0705 
0706                 vaux2_reg: regulator@10 {
0707                         regulator-min-microvolt = <1800000>;
0708                         regulator-max-microvolt = <3300000>;
0709                         regulator-always-on;
0710                 };
0711 
0712                 vaux33_reg: regulator@11 {
0713                         regulator-min-microvolt = <1800000>;
0714                         regulator-max-microvolt = <3300000>;
0715                         regulator-always-on;
0716                 };
0717 
0718                 vmmc_reg: regulator@12 {
0719                         regulator-min-microvolt = <1800000>;
0720                         regulator-max-microvolt = <3000000>;
0721                         regulator-always-on;
0722                 };
0723         };
0724 };