Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2013 ISEE 2007 SL - http://www.isee.biz/
0004  */
0005 /dts-v1/;
0006 
0007 #include <dt-bindings/input/input.h>
0008 #include "omap5-board-common.dtsi"
0009 
0010 / {
0011         model = "IGEPv5";
0012         compatible = "isee,omap5-igep0050", "ti,omap5";
0013 
0014         memory@80000000 {
0015                 device_type = "memory";
0016                 reg = <0x0 0x80000000 0 0x7f000000>;    /* 2032 MB */
0017         };
0018 
0019         aliases {
0020                 ethernet = &ethernet;
0021         };
0022 
0023         gpio_keys {
0024                 compatible = "gpio-keys";
0025                 pinctrl-0 = <&power_button_pin>;
0026                 pinctrl-names = "default";
0027 
0028                 power-button {
0029                         label = "Power Button";
0030                         linux,code = <KEY_POWER>;
0031                         gpios = <&gpio4 22 GPIO_ACTIVE_LOW>;
0032                 };
0033         };
0034 
0035         leds {
0036                 compatible = "gpio-leds";
0037                 led@1 {
0038                         label = "board:green:usr0";
0039                         gpios = <&tca6416 1 0>;
0040                         default-state = "off";
0041                 };
0042                 led@2 {
0043                         label = "board:red:usr1";
0044                         gpios = <&tca6416 2 0>;
0045                         default-state = "off";
0046                 };
0047                 led@3 {
0048                         label = "board:blue:usr1";
0049                         gpios = <&tca6416 3 0>;
0050                         default-state = "off";
0051                 };
0052         };
0053 };
0054 
0055 &hdmi {
0056         vdda-supply = <&ldo7_reg>;
0057 };
0058 
0059 &i2c4 {
0060         pinctrl-names = "default";
0061         pinctrl-0 = <&i2c4_pins>;
0062 
0063         tca6416: tca6416@21 {
0064                 compatible = "ti,tca6416";
0065                 reg = <0x21>;
0066                 gpio-controller;
0067                 #gpio-cells = <2>;
0068         };
0069 };
0070 
0071 /* LDO4 is VPP1 - ball AD9 */
0072 &ldo4_reg {
0073         regulator-min-microvolt = <2000000>;
0074         regulator-max-microvolt = <2000000>;
0075 };
0076 
0077 /*
0078  * LDO7 is used for HDMI: VDDA_DSIPORTA - ball AA33, VDDA_DSIPORTC - ball AE33,
0079  * VDDA_HDMI - ball AN25
0080  */
0081 &ldo7_reg {
0082         status = "okay";
0083         regulator-min-microvolt = <1800000>;
0084         regulator-max-microvolt = <1800000>;
0085 };
0086 
0087 &omap5_pmx_core {
0088         i2c4_pins: pinmux_i2c4_pins {
0089                 pinctrl-single,pins = <
0090                         OMAP5_IOPAD(0x0f8, PIN_INPUT | MUX_MODE0)       /* i2c4_scl */
0091                         OMAP5_IOPAD(0x0fa, PIN_INPUT | MUX_MODE0)       /* i2c4_sda */
0092                 >;
0093         };
0094 
0095         power_button_pin: pinctrl_power_button_pin {
0096                 pinctrl-single,pins = <
0097                         OMAP5_IOPAD(0x086, PIN_INPUT | MUX_MODE6)       /* gpio4_118 */
0098                 >;
0099         };
0100 };
0101 
0102 &tpd12s015 {
0103         gpios = <&tca6416 11 0>,        /* TCA6416 P01, CT_CP_HDP */
0104                 <&tca6416 12 0>,        /* TCA6416 P00, LS_OE*/
0105                 <&gpio7 1 0>,           /* 193, HPD */
0106                 <&gpio7 2 0>,           /* 194, SCL */
0107                 <&gpio7 3 0>;           /* 195, SDA */
0108 };
0109 
0110 &twl6040 {
0111         ti,audpwron-gpio = <&gpio5 16 GPIO_ACTIVE_HIGH>;  /* gpio line 144 */
0112 };
0113 
0114 &twl6040_pins {
0115         pinctrl-single,pins = <
0116                 OMAP5_IOPAD(0x1c4, PIN_OUTPUT | MUX_MODE6)      /* mcspi1_somi.gpio5_144 */
0117                 OMAP5_IOPAD(0x1ca, PIN_OUTPUT | MUX_MODE6)      /* perslimbus2_clock.gpio5_145 */
0118         >;
0119 };
0120 
0121 &usbhsehci {
0122         #address-cells = <1>;
0123         #size-cells = <0>;
0124 
0125         hub@2 {
0126                 compatible = "usb424,3503";
0127                 reg = <2>;
0128                 #address-cells = <1>;
0129                 #size-cells = <0>;
0130 
0131                 ethernet: ethernet@3 {
0132                         compatible = "usb424,7500";
0133                         reg = <3>;
0134                 };
0135         };
0136 };