Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com/
0004  */
0005 /dts-v1/;
0006 
0007 #include "omap443x.dtsi"
0008 #include "elpida_ecb240abacn.dtsi"
0009 #include "omap4-mcpdm.dtsi"
0010 
0011 / {
0012         model = "TI OMAP4 SDP board";
0013         compatible = "ti,omap4-sdp", "ti,omap4430", "ti,omap4";
0014 
0015         memory@80000000 {
0016                 device_type = "memory";
0017                 reg = <0x80000000 0x40000000>; /* 1 GB */
0018         };
0019 
0020         aliases {
0021                 display0 = &lcd0;
0022                 display1 = &lcd1;
0023                 display2 = &hdmi0;
0024         };
0025 
0026         vdd_eth: fixedregulator-vdd-eth {
0027                 pinctrl-names = "default";
0028                 pinctrl-0 = <&enet_enable_gpio>;
0029 
0030                 compatible = "regulator-fixed";
0031                 regulator-name = "VDD_ETH";
0032                 regulator-min-microvolt = <3300000>;
0033                 regulator-max-microvolt = <3300000>;
0034                 gpio = <&gpio2 16 GPIO_ACTIVE_HIGH>;  /* gpio line 48 */
0035                 enable-active-high;
0036                 regulator-boot-on;
0037                 startup-delay-us = <25000>;
0038         };
0039 
0040         vbat: fixedregulator-vbat {
0041                 compatible = "regulator-fixed";
0042                 regulator-name = "VBAT";
0043                 regulator-min-microvolt = <3750000>;
0044                 regulator-max-microvolt = <3750000>;
0045                 regulator-boot-on;
0046         };
0047 
0048         led-controller-1 {
0049                 compatible = "gpio-leds";
0050 
0051                 led-1 {
0052                         label = "omap4:green:debug0";
0053                         gpios = <&gpio2 29 GPIO_ACTIVE_HIGH>; /* 61 */
0054                 };
0055 
0056                 led-2 {
0057                         label = "omap4:green:debug1";
0058                         gpios = <&gpio1 30 GPIO_ACTIVE_HIGH>; /* 30 */
0059                 };
0060 
0061                 led-3 {
0062                         label = "omap4:green:debug2";
0063                         gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; /* 7 */
0064                 };
0065 
0066                 led-4 {
0067                         label = "omap4:green:debug3";
0068                         gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>; /* 8 */
0069                 };
0070 
0071                 led-5 {
0072                         label = "omap4:green:debug4";
0073                         gpios = <&gpio2 18 GPIO_ACTIVE_HIGH>; /* 50 */
0074                 };
0075 
0076                 led-6 {
0077                         label = "omap4:blue:user";
0078                         gpios = <&gpio6 9 GPIO_ACTIVE_HIGH>; /* 169 */
0079                 };
0080 
0081                 led-7 {
0082                         label = "omap4:red:user";
0083                         gpios = <&gpio6 10 GPIO_ACTIVE_HIGH>; /* 170 */
0084                 };
0085 
0086                 led-8 {
0087                         label = "omap4:green:user";
0088                         gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>; /* 139 */
0089                 };
0090         };
0091 
0092         led-controller-2 {
0093                 compatible = "pwm-leds";
0094 
0095                 led-9 {
0096                         label = "omap4::keypad";
0097                         pwms = <&twl_pwm 0 7812500>;
0098                         max-brightness = <127>;
0099                 };
0100 
0101                 led-10 {
0102                         label = "omap4:green:chrg";
0103                         pwms = <&twl_pwmled 0 7812500>;
0104                         max-brightness = <255>;
0105                 };
0106         };
0107 
0108         backlight {
0109                 compatible = "pwm-backlight";
0110                 pwms = <&twl_pwm 1 7812500>;
0111                 brightness-levels = <
0112                                 0 10 20 30 40
0113                                 50 60 70 80 90
0114                                 100 110 120 127
0115                                 >;
0116                 default-brightness-level = <13>;
0117         };
0118 
0119         sound {
0120                 compatible = "ti,abe-twl6040";
0121                 ti,model = "SDP4430";
0122 
0123                 ti,jack-detection = <1>;
0124                 ti,mclk-freq = <38400000>;
0125 
0126                 ti,mcpdm = <&mcpdm>;
0127                 ti,dmic = <&dmic>;
0128 
0129                 ti,twl6040 = <&twl6040>;
0130 
0131                 /* Audio routing */
0132                 ti,audio-routing =
0133                         "Headset Stereophone", "HSOL",
0134                         "Headset Stereophone", "HSOR",
0135                         "Earphone Spk", "EP",
0136                         "Ext Spk", "HFL",
0137                         "Ext Spk", "HFR",
0138                         "Line Out", "AUXL",
0139                         "Line Out", "AUXR",
0140                         "Vibrator", "VIBRAL",
0141                         "Vibrator", "VIBRAR",
0142                         "HSMIC", "Headset Mic",
0143                         "Headset Mic", "Headset Mic Bias",
0144                         "MAINMIC", "Main Handset Mic",
0145                         "Main Handset Mic", "Main Mic Bias",
0146                         "SUBMIC", "Sub Handset Mic",
0147                         "Sub Handset Mic", "Main Mic Bias",
0148                         "AFML", "Line In",
0149                         "AFMR", "Line In",
0150                         "DMic", "Digital Mic",
0151                         "Digital Mic", "Digital Mic1 Bias";
0152         };
0153 
0154         /* regulator for wl12xx on sdio5 */
0155         wl12xx_vmmc: wl12xx_vmmc {
0156                 pinctrl-names = "default";
0157                 pinctrl-0 = <&wl12xx_gpio>;
0158                 compatible = "regulator-fixed";
0159                 regulator-name = "vwl1271";
0160                 regulator-min-microvolt = <1800000>;
0161                 regulator-max-microvolt = <1800000>;
0162                 gpio = <&gpio2 22 GPIO_ACTIVE_HIGH>;
0163                 startup-delay-us = <70000>;
0164                 enable-active-high;
0165         };
0166 
0167         tpd12s015: encoder {
0168                 compatible = "ti,tpd12s015";
0169 
0170                 gpios = <&gpio2 28 GPIO_ACTIVE_HIGH>,   /* 60, CT CP HPD */
0171                         <&gpio2 9 GPIO_ACTIVE_HIGH>,    /* 41, LS OE */
0172                         <&gpio2 31 GPIO_ACTIVE_HIGH>;   /* 63, HPD */
0173 
0174                 ports {
0175                         #address-cells = <1>;
0176                         #size-cells = <0>;
0177 
0178                         port@0 {
0179                                 reg = <0>;
0180 
0181                                 tpd12s015_in: endpoint {
0182                                         remote-endpoint = <&hdmi_out>;
0183                                 };
0184                         };
0185 
0186                         port@1 {
0187                                 reg = <1>;
0188 
0189                                 tpd12s015_out: endpoint {
0190                                         remote-endpoint = <&hdmi_connector_in>;
0191                                 };
0192                         };
0193                 };
0194         };
0195 
0196         hdmi0: connector {
0197                 compatible = "hdmi-connector";
0198                 label = "hdmi";
0199 
0200                 type = "c";
0201 
0202                 port {
0203                         hdmi_connector_in: endpoint {
0204                                 remote-endpoint = <&tpd12s015_out>;
0205                         };
0206                 };
0207         };
0208 };
0209 
0210 &omap4_pmx_core {
0211         pinctrl-names = "default";
0212         pinctrl-0 = <
0213                         &dss_hdmi_pins
0214                         &tpd12s015_pins
0215         >;
0216 
0217         uart2_pins: pinmux_uart2_pins {
0218                 pinctrl-single,pins = <
0219                         OMAP4_IOPAD(0x118, PIN_INPUT_PULLUP | MUX_MODE0)        /* uart2_cts.uart2_cts */
0220                         OMAP4_IOPAD(0x11a, PIN_OUTPUT | MUX_MODE0)              /* uart2_rts.uart2_rts */
0221                         OMAP4_IOPAD(0x11c, PIN_INPUT_PULLUP | MUX_MODE0)        /* uart2_rx.uart2_rx */
0222                         OMAP4_IOPAD(0x11e, PIN_OUTPUT | MUX_MODE0)              /* uart2_tx.uart2_tx */
0223                 >;
0224         };
0225 
0226         uart3_pins: pinmux_uart3_pins {
0227                 pinctrl-single,pins = <
0228                         OMAP4_IOPAD(0x140, PIN_INPUT_PULLUP | MUX_MODE0)        /* uart3_cts_rctx.uart3_cts_rctx */
0229                         OMAP4_IOPAD(0x142, PIN_OUTPUT | MUX_MODE0)              /* uart3_rts_sd.uart3_rts_sd */
0230                         OMAP4_IOPAD(0x144, PIN_INPUT | MUX_MODE0)               /* uart3_rx_irrx.uart3_rx_irrx */
0231                         OMAP4_IOPAD(0x146, PIN_OUTPUT | MUX_MODE0)              /* uart3_tx_irtx.uart3_tx_irtx */
0232                 >;
0233         };
0234 
0235         uart4_pins: pinmux_uart4_pins {
0236                 pinctrl-single,pins = <
0237                         OMAP4_IOPAD(0x15c, PIN_INPUT | MUX_MODE0)               /* uart4_rx.uart4_rx */
0238                         OMAP4_IOPAD(0x15e, PIN_OUTPUT | MUX_MODE0)              /* uart4_tx.uart4_tx */
0239                 >;
0240         };
0241 
0242         twl6040_pins: pinmux_twl6040_pins {
0243                 pinctrl-single,pins = <
0244                         OMAP4_IOPAD(0x120, PIN_OUTPUT | MUX_MODE3)              /* hdq_sio.gpio_127 */
0245                         OMAP4_IOPAD(0x1a0, PIN_INPUT | MUX_MODE0)               /* sys_nirq2.sys_nirq2 */
0246                 >;
0247         };
0248 
0249         dmic_pins: pinmux_dmic_pins {
0250                 pinctrl-single,pins = <
0251                         OMAP4_IOPAD(0x110, PIN_OUTPUT | MUX_MODE0)              /* abe_dmic_clk1.abe_dmic_clk1 */
0252                         OMAP4_IOPAD(0x112, PIN_INPUT | MUX_MODE0)               /* abe_dmic_din1.abe_dmic_din1 */
0253                         OMAP4_IOPAD(0x114, PIN_INPUT | MUX_MODE0)               /* abe_dmic_din2.abe_dmic_din2 */
0254                         OMAP4_IOPAD(0x116, PIN_INPUT | MUX_MODE0)               /* abe_dmic_din3.abe_dmic_din3 */
0255                 >;
0256         };
0257 
0258         mcbsp1_pins: pinmux_mcbsp1_pins {
0259                 pinctrl-single,pins = <
0260                         OMAP4_IOPAD(0x0fe, PIN_INPUT | MUX_MODE0)               /* abe_mcbsp1_clkx.abe_mcbsp1_clkx */
0261                         OMAP4_IOPAD(0x100, PIN_INPUT_PULLDOWN | MUX_MODE0)      /* abe_mcbsp1_dr.abe_mcbsp1_dr */
0262                         OMAP4_IOPAD(0x102, PIN_OUTPUT_PULLDOWN | MUX_MODE0)     /* abe_mcbsp1_dx.abe_mcbsp1_dx */
0263                         OMAP4_IOPAD(0x104, PIN_INPUT | MUX_MODE0)               /* abe_mcbsp1_fsx.abe_mcbsp1_fsx */
0264                 >;
0265         };
0266 
0267         mcbsp2_pins: pinmux_mcbsp2_pins {
0268                 pinctrl-single,pins = <
0269                         OMAP4_IOPAD(0x0f6, PIN_INPUT | MUX_MODE0)               /* abe_mcbsp2_clkx.abe_mcbsp2_clkx */
0270                         OMAP4_IOPAD(0x0f8, PIN_INPUT_PULLDOWN | MUX_MODE0)      /* abe_mcbsp2_dr.abe_mcbsp2_dr */
0271                         OMAP4_IOPAD(0x0fa, PIN_OUTPUT_PULLDOWN | MUX_MODE0)     /* abe_mcbsp2_dx.abe_mcbsp2_dx */
0272                         OMAP4_IOPAD(0x0fc, PIN_INPUT | MUX_MODE0)               /* abe_mcbsp2_fsx.abe_mcbsp2_fsx */
0273                 >;
0274         };
0275 
0276         mcspi1_pins: pinmux_mcspi1_pins {
0277                 pinctrl-single,pins = <
0278                         OMAP4_IOPAD(0x132, PIN_INPUT | MUX_MODE0)               /*  mcspi1_clk.mcspi1_clk */
0279                         OMAP4_IOPAD(0x134, PIN_INPUT | MUX_MODE0)               /*  mcspi1_somi.mcspi1_somi */
0280                         OMAP4_IOPAD(0x136, PIN_INPUT | MUX_MODE0)               /*  mcspi1_simo.mcspi1_simo */
0281                         OMAP4_IOPAD(0x138, PIN_INPUT | MUX_MODE0)               /*  mcspi1_cs0.mcspi1_cs0 */
0282                 >;
0283         };
0284 
0285         dss_hdmi_pins: pinmux_dss_hdmi_pins {
0286                 pinctrl-single,pins = <
0287                         OMAP4_IOPAD(0x09a, PIN_INPUT | MUX_MODE0)               /* hdmi_cec.hdmi_cec */
0288                         OMAP4_IOPAD(0x09c, PIN_INPUT_PULLUP | MUX_MODE0)        /* hdmi_scl.hdmi_scl */
0289                         OMAP4_IOPAD(0x09e, PIN_INPUT_PULLUP | MUX_MODE0)        /* hdmi_sda.hdmi_sda */
0290                 >;
0291         };
0292 
0293         tpd12s015_pins: pinmux_tpd12s015_pins {
0294                 pinctrl-single,pins = <
0295                         OMAP4_IOPAD(0x062, PIN_OUTPUT | MUX_MODE3)              /* gpmc_a17.gpio_41 */
0296                         OMAP4_IOPAD(0x088, PIN_OUTPUT | MUX_MODE3)              /* gpmc_nbe1.gpio_60 */
0297                         OMAP4_IOPAD(0x098, PIN_INPUT_PULLDOWN | MUX_MODE3)      /* hdmi_hpd.gpio_63 */
0298                 >;
0299         };
0300 
0301         i2c1_pins: pinmux_i2c1_pins {
0302                 pinctrl-single,pins = <
0303                         OMAP4_IOPAD(0x122, PIN_INPUT_PULLUP | MUX_MODE0)        /* i2c1_scl */
0304                         OMAP4_IOPAD(0x124, PIN_INPUT_PULLUP | MUX_MODE0)        /* i2c1_sda */
0305                 >;
0306         };
0307 
0308         i2c2_pins: pinmux_i2c2_pins {
0309                 pinctrl-single,pins = <
0310                         OMAP4_IOPAD(0x126, PIN_INPUT_PULLUP | MUX_MODE0)        /* i2c2_scl */
0311                         OMAP4_IOPAD(0x128, PIN_INPUT_PULLUP | MUX_MODE0)        /* i2c2_sda */
0312                 >;
0313         };
0314 
0315         i2c3_pins: pinmux_i2c3_pins {
0316                 pinctrl-single,pins = <
0317                         OMAP4_IOPAD(0x12a, PIN_INPUT_PULLUP | MUX_MODE0)        /* i2c3_scl */
0318                         OMAP4_IOPAD(0x12c, PIN_INPUT_PULLUP | MUX_MODE0)        /* i2c3_sda */
0319                 >;
0320         };
0321 
0322         i2c4_pins: pinmux_i2c4_pins {
0323                 pinctrl-single,pins = <
0324                         OMAP4_IOPAD(0x12e, PIN_INPUT_PULLUP | MUX_MODE0)        /* i2c4_scl */
0325                         OMAP4_IOPAD(0x130, PIN_INPUT_PULLUP | MUX_MODE0)        /* i2c4_sda */
0326                 >;
0327         };
0328 
0329         /* wl12xx GPIO output for WLAN_EN */
0330         wl12xx_gpio: pinmux_wl12xx_gpio {
0331                 pinctrl-single,pins = <
0332                         OMAP4_IOPAD(0x07c, PIN_OUTPUT | MUX_MODE3)              /* gpmc_nwp.gpio_54 */
0333                 >;
0334         };
0335 
0336         /* wl12xx GPIO inputs and SDIO pins */
0337         wl12xx_pins: pinmux_wl12xx_pins {
0338                 pinctrl-single,pins = <
0339                         OMAP4_IOPAD(0x07a, PIN_INPUT | MUX_MODE3)               /* gpmc_ncs3.gpio_53 */
0340                         OMAP4_IOPAD(0x148, PIN_INPUT_PULLUP | MUX_MODE0)        /* sdmmc5_clk.sdmmc5_clk */
0341                         OMAP4_IOPAD(0x14a, PIN_INPUT_PULLUP | MUX_MODE0)        /* sdmmc5_cmd.sdmmc5_cmd */
0342                         OMAP4_IOPAD(0x14c, PIN_INPUT_PULLUP | MUX_MODE0)        /* sdmmc5_dat0.sdmmc5_dat0 */
0343                         OMAP4_IOPAD(0x14e, PIN_INPUT_PULLUP | MUX_MODE0)        /* sdmmc5_dat1.sdmmc5_dat1 */
0344                         OMAP4_IOPAD(0x150, PIN_INPUT_PULLUP | MUX_MODE0)        /* sdmmc5_dat2.sdmmc5_dat2 */
0345                         OMAP4_IOPAD(0x152, PIN_INPUT_PULLUP | MUX_MODE0)        /* sdmmc5_dat3.sdmmc5_dat3 */
0346                 >;
0347         };
0348 
0349         /* gpio_48 for ENET_ENABLE */
0350         enet_enable_gpio: pinmux_enet_enable_gpio {
0351                 pinctrl-single,pins = <
0352                         OMAP4_IOPAD(0x070, PIN_OUTPUT_PULLDOWN | MUX_MODE3)     /* gpmc_a24.gpio_48 */
0353                 >;
0354         };
0355 
0356         ks8851_pins: pinmux_ks8851_pins {
0357                 pinctrl-single,pins = <
0358                         /* ENET_INT */
0359                         OMAP4_IOPAD(0x054, PIN_INPUT_PULLUP | MUX_MODE3)        /* gpmc_ad10.gpio_34 */
0360                         /*
0361                          * Misterious pin which makes the ethernet working
0362                          * The legacy board file requested this pin on boot
0363                          * (ETH_KS8851_QUART) and set it to high, similarly to
0364                          * the ENET_ENABLE pin.
0365                          * We could use gpio-hog to keep it high, but let's use
0366                          * it as a reset GPIO for ks8851.
0367                          */
0368                         OMAP4_IOPAD(0x13a, PIN_OUTPUT_PULLUP | MUX_MODE3)       /* mcspi1_cs1.gpio_138 */
0369                 >;
0370         };
0371 };
0372 
0373 &i2c1 {
0374         pinctrl-names = "default";
0375         pinctrl-0 = <&i2c1_pins>;
0376 
0377         clock-frequency = <400000>;
0378 
0379         twl: twl@48 {
0380                 reg = <0x48>;
0381                 /* SPI = 0, IRQ# = 7, 4 = active high level-sensitive */
0382                 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_1N cascaded to gic */
0383         };
0384 
0385         twl6040: twl@4b {
0386                 compatible = "ti,twl6040";
0387                 #clock-cells = <0>;
0388                 reg = <0x4b>;
0389 
0390                 pinctrl-names = "default";
0391                 pinctrl-0 = <&twl6040_pins>;
0392 
0393                 /* SPI = 0, IRQ# = 119, 4 = active high level-sensitive */
0394                 interrupts = <GIC_SPI 119 IRQ_TYPE_LEVEL_HIGH>; /* IRQ_SYS_2N cascaded to gic */
0395                 ti,audpwron-gpio = <&gpio4 31 GPIO_ACTIVE_HIGH>;  /* gpio line 127 */
0396 
0397                 vio-supply = <&v1v8>;
0398                 v2v1-supply = <&v2v1>;
0399                 enable-active-high;
0400 
0401                 /* regulators for vibra motor */
0402                 vddvibl-supply = <&vbat>;
0403                 vddvibr-supply = <&vbat>;
0404 
0405                 vibra {
0406                         /* Vibra driver, motor resistance parameters */
0407                         ti,vibldrv-res = <8>;
0408                         ti,vibrdrv-res = <3>;
0409                         ti,viblmotor-res = <10>;
0410                         ti,vibrmotor-res = <10>;
0411                 };
0412         };
0413 };
0414 
0415 #include "twl6030.dtsi"
0416 #include "twl6030_omap4.dtsi"
0417 
0418 &i2c2 {
0419         pinctrl-names = "default";
0420         pinctrl-0 = <&i2c2_pins>;
0421 
0422         clock-frequency = <400000>;
0423 };
0424 
0425 &i2c3 {
0426         pinctrl-names = "default";
0427         pinctrl-0 = <&i2c3_pins>;
0428 
0429         clock-frequency = <400000>;
0430 
0431         /*
0432          * Temperature Sensor
0433          * https://www.ti.com/lit/ds/symlink/tmp105.pdf
0434          */
0435         tmp105@48 {
0436                 compatible = "ti,tmp105";
0437                 reg = <0x48>;
0438         };
0439 
0440         /*
0441          * Ambient Light Sensor
0442          * http://www.rohm.com/products/databook/sensor/pdf/bh1780gli-e.pdf
0443          */
0444         bh1780@29 {
0445                 compatible = "rohm,bh1780";
0446                 reg = <0x29>;
0447         };
0448 };
0449 
0450 &i2c4 {
0451         pinctrl-names = "default";
0452         pinctrl-0 = <&i2c4_pins>;
0453 
0454         clock-frequency = <400000>;
0455 
0456         /*
0457          * 3-Axis Digital Compass
0458          * https://www.sparkfun.com/datasheets/Sensors/Magneto/HMC5843.pdf
0459          */
0460         hmc5843@1e {
0461                 compatible = "honeywell,hmc5843";
0462                 reg = <0x1e>;
0463         };
0464 };
0465 
0466 &mcspi1 {
0467         pinctrl-names = "default";
0468         pinctrl-0 = <&mcspi1_pins>;
0469 
0470         eth@0 {
0471                 pinctrl-names = "default";
0472                 pinctrl-0 = <&ks8851_pins>;
0473 
0474                 compatible = "ks8851";
0475                 spi-max-frequency = <24000000>;
0476                 reg = <0>;
0477                 interrupt-parent = <&gpio2>;
0478                 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; /* gpio line 34 */
0479                 vdd-supply = <&vdd_eth>;
0480                 reset-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
0481         };
0482 };
0483 
0484 &mmc1 {
0485         vmmc-supply = <&vmmc>;
0486         bus-width = <8>;
0487 };
0488 
0489 &mmc2 {
0490         vmmc-supply = <&vaux1>;
0491         bus-width = <8>;
0492         ti,non-removable;
0493 };
0494 
0495 &mmc3 {
0496         status = "disabled";
0497 };
0498 
0499 &mmc4 {
0500         status = "disabled";
0501 };
0502 
0503 &mmc5 {
0504         pinctrl-names = "default";
0505         pinctrl-0 = <&wl12xx_pins>;
0506         vmmc-supply = <&wl12xx_vmmc>;
0507         non-removable;
0508         bus-width = <4>;
0509         cap-power-off-card;
0510 
0511         #address-cells = <1>;
0512         #size-cells = <0>;
0513         wlcore: wlcore@2 {
0514                 compatible = "ti,wl1281";
0515                 reg = <2>;
0516                 interrupt-parent = <&gpio1>;
0517                 interrupts = <21 IRQ_TYPE_LEVEL_HIGH>; /* gpio 53 */
0518                 ref-clock-frequency = <26000000>;
0519                 tcxo-clock-frequency = <26000000>;
0520         };
0521 };
0522 
0523 &emif1 {
0524         cs1-used;
0525         device-handle = <&elpida_ECB240ABACN>;
0526 };
0527 
0528 &emif2 {
0529         cs1-used;
0530         device-handle = <&elpida_ECB240ABACN>;
0531 };
0532 
0533 &keypad {
0534         keypad,num-rows = <8>;
0535         keypad,num-columns = <8>;
0536         linux,keymap = <0x00000012      /* KEY_E */
0537                         0x00010013      /* KEY_R */
0538                         0x00020014      /* KEY_T */
0539                         0x00030066      /* KEY_HOME */
0540                         0x0004003f      /* KEY_F5 */
0541                         0x000500f0      /* KEY_UNKNOWN */
0542                         0x00060017      /* KEY_I */
0543                         0x0007002a      /* KEY_LEFTSHIFT */
0544                         0x01000020      /* KEY_D*/
0545                         0x01010021      /* KEY_F */
0546                         0x01020022      /* KEY_G */
0547                         0x010300e7      /* KEY_SEND */
0548                         0x01040040      /* KEY_F6 */
0549                         0x010500f0      /* KEY_UNKNOWN */
0550                         0x01060025      /* KEY_K */
0551                         0x0107001c      /* KEY_ENTER */
0552                         0x0200002d      /* KEY_X */
0553                         0x0201002e      /* KEY_C */
0554                         0x0202002f      /* KEY_V */
0555                         0x0203006b      /* KEY_END */
0556                         0x02040041      /* KEY_F7 */
0557                         0x020500f0      /* KEY_UNKNOWN */
0558                         0x02060034      /* KEY_DOT */
0559                         0x0207003a      /* KEY_CAPSLOCK */
0560                         0x0300002c      /* KEY_Z */
0561                         0x0301004e      /* KEY_KPLUS */
0562                         0x03020030      /* KEY_B */
0563                         0x0303003b      /* KEY_F1 */
0564                         0x03040042      /* KEY_F8 */
0565                         0x030500f0      /* KEY_UNKNOWN */
0566                         0x03060018      /* KEY_O */
0567                         0x03070039      /* KEY_SPACE */
0568                         0x04000011      /* KEY_W */
0569                         0x04010015      /* KEY_Y */
0570                         0x04020016      /* KEY_U */
0571                         0x0403003c      /* KEY_F2 */
0572                         0x04040073      /* KEY_VOLUMEUP */
0573                         0x040500f0      /* KEY_UNKNOWN */
0574                         0x04060026      /* KEY_L */
0575                         0x04070069      /* KEY_LEFT */
0576                         0x0500001f      /* KEY_S */
0577                         0x05010023      /* KEY_H */
0578                         0x05020024      /* KEY_J */
0579                         0x0503003d      /* KEY_F3 */
0580                         0x05040043      /* KEY_F9 */
0581                         0x05050072      /* KEY_VOLUMEDOWN */
0582                         0x05060032      /* KEY_M */
0583                         0x0507006a      /* KEY_RIGHT */
0584                         0x06000010      /* KEY_Q */
0585                         0x0601001e      /* KEY_A */
0586                         0x06020031      /* KEY_N */
0587                         0x0603009e      /* KEY_BACK */
0588                         0x0604000e      /* KEY_BACKSPACE */
0589                         0x060500f0      /* KEY_UNKNOWN */
0590                         0x06060019      /* KEY_P */
0591                         0x06070067      /* KEY_UP */
0592                         0x07000094      /* KEY_PROG1 */
0593                         0x07010095      /* KEY_PROG2 */
0594                         0x070200ca      /* KEY_PROG3 */
0595                         0x070300cb      /* KEY_PROG4 */
0596                         0x0704003e      /* KEY_F4 */
0597                         0x070500f0      /* KEY_UNKNOWN */
0598                         0x07060160      /* KEY_OK */
0599                         0x0707006c>;    /* KEY_DOWN */
0600         linux,input-no-autorepeat;
0601 };
0602 
0603 &uart2 {
0604         interrupts-extended = <&wakeupgen GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH
0605                                &omap4_pmx_core OMAP4_UART2_RX>;
0606         pinctrl-names = "default";
0607         pinctrl-0 = <&uart2_pins>;
0608 };
0609 
0610 &uart3 {
0611         interrupts-extended = <&wakeupgen GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH
0612                                &omap4_pmx_core OMAP4_UART3_RX>;
0613         pinctrl-names = "default";
0614         pinctrl-0 = <&uart3_pins>;
0615 };
0616 
0617 &uart4 {
0618         interrupts-extended = <&wakeupgen GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH
0619                                &omap4_pmx_core OMAP4_UART4_RX>;
0620         pinctrl-names = "default";
0621         pinctrl-0 = <&uart4_pins>;
0622 };
0623 
0624 &mcbsp1 {
0625         pinctrl-names = "default";
0626         pinctrl-0 = <&mcbsp1_pins>;
0627         status = "okay";
0628 };
0629 
0630 &mcbsp2 {
0631         pinctrl-names = "default";
0632         pinctrl-0 = <&mcbsp2_pins>;
0633         status = "okay";
0634 };
0635 
0636 &dmic {
0637         pinctrl-names = "default";
0638         pinctrl-0 = <&dmic_pins>;
0639         status = "okay";
0640 };
0641 
0642 &twl_usb_comparator {
0643         usb-supply = <&vusb>;
0644 };
0645 
0646 &usb_otg_hs {
0647         interface-type = <1>;
0648         mode = <3>;
0649         power = <50>;
0650 };
0651 
0652 &dss {
0653         status = "okay";
0654 };
0655 
0656 &dsi1 {
0657         status = "okay";
0658         vdd-supply = <&vcxio>;
0659 
0660         port {
0661                 dsi1_out_ep: endpoint {
0662                         remote-endpoint = <&lcd0_in>;
0663                         lanes = <0 1 2 3 4 5>;
0664                 };
0665         };
0666 
0667         lcd0: panel@0 {
0668                 compatible = "tpo,taal", "panel-dsi-cm";
0669                 reg = <0>;
0670                 label = "lcd0";
0671 
0672                 reset-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;      /* 102 */
0673 
0674                 port {
0675                         lcd0_in: endpoint {
0676                                 remote-endpoint = <&dsi1_out_ep>;
0677                         };
0678                 };
0679         };
0680 };
0681 
0682 &dsi2 {
0683         status = "okay";
0684         vdd-supply = <&vcxio>;
0685 
0686         port {
0687                 dsi2_out_ep: endpoint {
0688                         remote-endpoint = <&lcd1_in>;
0689                         lanes = <0 1 2 3 4 5>;
0690                 };
0691         };
0692 
0693         lcd1: panel@0 {
0694                 compatible = "tpo,taal", "panel-dsi-cm";
0695                 reg = <0>;
0696                 label = "lcd1";
0697 
0698                 reset-gpios = <&gpio4 8 GPIO_ACTIVE_HIGH>;      /* 104 */
0699 
0700                 port {
0701                         lcd1_in: endpoint {
0702                                 remote-endpoint = <&dsi2_out_ep>;
0703                         };
0704                 };
0705         };
0706 };
0707 
0708 &hdmi {
0709         status = "okay";
0710         vdda-supply = <&vdac>;
0711 
0712         port {
0713                 hdmi_out: endpoint {
0714                         remote-endpoint = <&tpd12s015_in>;
0715                 };
0716         };
0717 };