Sekhar Nori | 27e6e0d | 2012-08-29 23:25:27 +0530 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree for DA850 EVM board |
| 3 | * |
| 4 | * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms of the GNU General Public License as published by the |
| 8 | * Free Software Foundation, version 2. |
| 9 | */ |
| 10 | /dts-v1/; |
Philip Avinash | a2bcd77 | 2013-06-14 15:15:53 +0530 | [diff] [blame] | 11 | #include "da850.dtsi" |
Sekhar Nori | 27e6e0d | 2012-08-29 23:25:27 +0530 | [diff] [blame] | 12 | |
| 13 | / { |
| 14 | compatible = "ti,da850-evm", "ti,da850"; |
| 15 | model = "DA850/AM1808/OMAP-L138 EVM"; |
| 16 | |
| 17 | soc { |
Kumar, Anil | 1faaba3 | 2013-01-16 14:37:39 +0530 | [diff] [blame] | 18 | pmx_core: pinmux@1c14120 { |
| 19 | status = "okay"; |
Peter Ujfalusi | 4ec582e | 2014-08-01 09:13:28 +0300 | [diff] [blame] | 20 | |
| 21 | mcasp0_pins: pinmux_mcasp0_pins { |
| 22 | pinctrl-single,bits = < |
| 23 | /* |
| 24 | * AHCLKX, ACLKX, AFSX, AHCLKR, ACLKR, |
| 25 | * AFSR, AMUTE |
| 26 | */ |
| 27 | 0x00 0x11111111 0xffffffff |
| 28 | /* AXR11, AXR12 */ |
| 29 | 0x04 0x00011000 0x000ff000 |
| 30 | >; |
| 31 | }; |
Kumar, Anil | 1faaba3 | 2013-01-16 14:37:39 +0530 | [diff] [blame] | 32 | }; |
Sekhar Nori | 27e6e0d | 2012-08-29 23:25:27 +0530 | [diff] [blame] | 33 | serial0: serial@1c42000 { |
| 34 | status = "okay"; |
| 35 | }; |
| 36 | serial1: serial@1d0c000 { |
| 37 | status = "okay"; |
| 38 | }; |
| 39 | serial2: serial@1d0d000 { |
| 40 | status = "okay"; |
| 41 | }; |
Mrugesh Katepallewar | 1661636 | 2013-01-28 13:17:48 +0530 | [diff] [blame] | 42 | rtc0: rtc@1c23000 { |
| 43 | status = "okay"; |
| 44 | }; |
Vishwanathrao Badarkhe, Manish | 01729cc | 2013-02-06 15:06:22 +0530 | [diff] [blame] | 45 | i2c0: i2c@1c22000 { |
| 46 | status = "okay"; |
| 47 | clock-frequency = <100000>; |
| 48 | pinctrl-names = "default"; |
| 49 | pinctrl-0 = <&i2c0_pins>; |
Vishwanathrao Badarkhe, Manish | c3847a3 | 2013-03-07 11:56:21 +0530 | [diff] [blame] | 50 | |
| 51 | tps: tps@48 { |
| 52 | reg = <0x48>; |
| 53 | }; |
Peter Ujfalusi | 204a87e | 2014-08-01 09:13:29 +0300 | [diff] [blame] | 54 | tlv320aic3106: tlv320aic3106@18 { |
Peter Ujfalusi | 3f52669 | 2014-08-01 09:13:30 +0300 | [diff] [blame^] | 55 | #sound-dai-cells = <0>; |
Peter Ujfalusi | 204a87e | 2014-08-01 09:13:29 +0300 | [diff] [blame] | 56 | compatible = "ti,tlv320aic3106"; |
| 57 | reg = <0x18>; |
| 58 | status = "okay"; |
| 59 | |
| 60 | /* Regulators */ |
| 61 | IOVDD-supply = <&vdcdc2_reg>; |
| 62 | /* Derived from VBAT: Baseboard 3.3V / 1.8V */ |
| 63 | AVDD-supply = <&vbat>; |
| 64 | DRVDD-supply = <&vbat>; |
| 65 | DVDD-supply = <&vbat>; |
| 66 | }; |
| 67 | |
Vishwanathrao Badarkhe, Manish | 01729cc | 2013-02-06 15:06:22 +0530 | [diff] [blame] | 68 | }; |
Kumar, Anil | 518f97d | 2013-02-06 09:30:03 +0530 | [diff] [blame] | 69 | wdt: wdt@1c21000 { |
| 70 | status = "okay"; |
| 71 | }; |
Manjunathappa, Prakash | 88df412 | 2013-03-28 18:42:01 +0530 | [diff] [blame] | 72 | mmc0: mmc@1c40000 { |
| 73 | max-frequency = <50000000>; |
| 74 | bus-width = <4>; |
| 75 | status = "okay"; |
| 76 | pinctrl-names = "default"; |
| 77 | pinctrl-0 = <&mmc0_pins>; |
| 78 | }; |
Manjunathappa, Prakash | 4f4d9d4 | 2013-04-03 19:39:10 +0530 | [diff] [blame] | 79 | spi1: spi@1f0e000 { |
| 80 | status = "okay"; |
| 81 | pinctrl-names = "default"; |
| 82 | pinctrl-0 = <&spi1_pins &spi1_cs0_pin>; |
| 83 | flash: m25p80@0 { |
| 84 | #address-cells = <1>; |
| 85 | #size-cells = <1>; |
| 86 | compatible = "m25p64"; |
| 87 | spi-max-frequency = <30000000>; |
| 88 | reg = <0>; |
| 89 | partition@0 { |
| 90 | label = "U-Boot-SPL"; |
| 91 | reg = <0x00000000 0x00010000>; |
| 92 | read-only; |
| 93 | }; |
| 94 | partition@1 { |
| 95 | label = "U-Boot"; |
| 96 | reg = <0x00010000 0x00080000>; |
| 97 | read-only; |
| 98 | }; |
| 99 | partition@2 { |
| 100 | label = "U-Boot-Env"; |
| 101 | reg = <0x00090000 0x00010000>; |
| 102 | read-only; |
| 103 | }; |
| 104 | partition@3 { |
| 105 | label = "Kernel"; |
| 106 | reg = <0x000a0000 0x00280000>; |
| 107 | }; |
| 108 | partition@4 { |
| 109 | label = "Filesystem"; |
| 110 | reg = <0x00320000 0x00400000>; |
| 111 | }; |
| 112 | partition@5 { |
| 113 | label = "MAC-Address"; |
| 114 | reg = <0x007f0000 0x00010000>; |
| 115 | read-only; |
| 116 | }; |
| 117 | }; |
| 118 | }; |
Lad, Prabhakar | 609f4bc | 2013-08-15 11:31:34 +0530 | [diff] [blame] | 119 | mdio: mdio@1e24000 { |
| 120 | status = "okay"; |
| 121 | pinctrl-names = "default"; |
| 122 | pinctrl-0 = <&mdio_pins>; |
| 123 | bus_freq = <2200000>; |
| 124 | }; |
Lad, Prabhakar | dd7deaf | 2013-08-16 22:37:09 +0530 | [diff] [blame] | 125 | eth0: ethernet@1e20000 { |
| 126 | status = "okay"; |
| 127 | pinctrl-names = "default"; |
| 128 | pinctrl-0 = <&mii_pins>; |
| 129 | }; |
KV Sujith | 3a9574f | 2013-11-21 23:45:31 +0530 | [diff] [blame] | 130 | gpio: gpio@1e26000 { |
| 131 | status = "okay"; |
| 132 | }; |
Sekhar Nori | 27e6e0d | 2012-08-29 23:25:27 +0530 | [diff] [blame] | 133 | }; |
Kumar, Anil | 99b8800 | 2013-01-16 14:37:41 +0530 | [diff] [blame] | 134 | nand_cs3@62000000 { |
| 135 | status = "okay"; |
| 136 | pinctrl-names = "default"; |
| 137 | pinctrl-0 = <&nand_cs3_pins>; |
| 138 | }; |
Vishwanathrao Badarkhe, Manish | c3847a3 | 2013-03-07 11:56:21 +0530 | [diff] [blame] | 139 | vbat: fixedregulator@0 { |
| 140 | compatible = "regulator-fixed"; |
| 141 | regulator-name = "vbat"; |
| 142 | regulator-min-microvolt = <5000000>; |
| 143 | regulator-max-microvolt = <5000000>; |
| 144 | regulator-boot-on; |
| 145 | }; |
Peter Ujfalusi | 3f52669 | 2014-08-01 09:13:30 +0300 | [diff] [blame^] | 146 | |
| 147 | sound { |
| 148 | compatible = "simple-audio-card"; |
| 149 | simple-audio-card,name = "DA850/OMAP-L138 EVM"; |
| 150 | simple-audio-card,widgets = |
| 151 | "Line", "Line In", |
| 152 | "Line", "Line Out"; |
| 153 | simple-audio-card,routing = |
| 154 | "LINE1L", "Line In", |
| 155 | "LINE1R", "Line In", |
| 156 | "Line Out", "LLOUT", |
| 157 | "Line Out", "RLOUT"; |
| 158 | simple-audio-card,format = "dsp_b"; |
| 159 | simple-audio-card,bitclock-master = <&link0_codec>; |
| 160 | simple-audio-card,frame-master = <&link0_codec>; |
| 161 | simple-audio-card,bitclock-inversion; |
| 162 | |
| 163 | simple-audio-card,cpu { |
| 164 | sound-dai = <&mcasp0>; |
| 165 | system-clock-frequency = <24576000>; |
| 166 | }; |
| 167 | |
| 168 | link0_codec: simple-audio-card,codec { |
| 169 | sound-dai = <&tlv320aic3106>; |
| 170 | system-clock-frequency = <24576000>; |
| 171 | }; |
| 172 | }; |
Vishwanathrao Badarkhe, Manish | c3847a3 | 2013-03-07 11:56:21 +0530 | [diff] [blame] | 173 | }; |
| 174 | |
| 175 | /include/ "tps6507x.dtsi" |
| 176 | |
| 177 | &tps { |
| 178 | vdcdc1_2-supply = <&vbat>; |
| 179 | vdcdc3-supply = <&vbat>; |
| 180 | vldo1_2-supply = <&vbat>; |
| 181 | |
| 182 | regulators { |
| 183 | vdcdc1_reg: regulator@0 { |
| 184 | regulator-name = "VDCDC1_3.3V"; |
| 185 | regulator-min-microvolt = <3150000>; |
| 186 | regulator-max-microvolt = <3450000>; |
| 187 | regulator-always-on; |
| 188 | regulator-boot-on; |
| 189 | }; |
| 190 | |
| 191 | vdcdc2_reg: regulator@1 { |
| 192 | regulator-name = "VDCDC2_3.3V"; |
| 193 | regulator-min-microvolt = <1710000>; |
| 194 | regulator-max-microvolt = <3450000>; |
| 195 | regulator-always-on; |
| 196 | regulator-boot-on; |
| 197 | ti,defdcdc_default = <1>; |
| 198 | }; |
| 199 | |
| 200 | vdcdc3_reg: regulator@2 { |
| 201 | regulator-name = "VDCDC3_1.2V"; |
| 202 | regulator-min-microvolt = <950000>; |
| 203 | regulator-max-microvolt = <1350000>; |
| 204 | regulator-always-on; |
| 205 | regulator-boot-on; |
| 206 | ti,defdcdc_default = <1>; |
| 207 | }; |
| 208 | |
| 209 | ldo1_reg: regulator@3 { |
| 210 | regulator-name = "LDO1_1.8V"; |
| 211 | regulator-min-microvolt = <1710000>; |
| 212 | regulator-max-microvolt = <1890000>; |
| 213 | regulator-always-on; |
| 214 | regulator-boot-on; |
| 215 | }; |
| 216 | |
| 217 | ldo2_reg: regulator@4 { |
| 218 | regulator-name = "LDO2_1.2V"; |
| 219 | regulator-min-microvolt = <1140000>; |
| 220 | regulator-max-microvolt = <1320000>; |
| 221 | regulator-always-on; |
| 222 | regulator-boot-on; |
| 223 | }; |
| 224 | }; |
Sekhar Nori | 27e6e0d | 2012-08-29 23:25:27 +0530 | [diff] [blame] | 225 | }; |
Peter Ujfalusi | 4ec582e | 2014-08-01 09:13:28 +0300 | [diff] [blame] | 226 | |
| 227 | &mcasp0 { |
Peter Ujfalusi | 3f52669 | 2014-08-01 09:13:30 +0300 | [diff] [blame^] | 228 | #sound-dai-cells = <0>; |
Peter Ujfalusi | 4ec582e | 2014-08-01 09:13:28 +0300 | [diff] [blame] | 229 | status = "okay"; |
| 230 | pinctrl-names = "default"; |
| 231 | pinctrl-0 = <&mcasp0_pins>; |
| 232 | |
| 233 | op-mode = <0>; /* MCASP_IIS_MODE */ |
| 234 | tdm-slots = <2>; |
| 235 | /* 4 serializer */ |
| 236 | serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */ |
| 237 | 0 0 0 0 |
| 238 | 0 0 0 0 |
| 239 | 0 0 0 1 |
| 240 | 2 0 0 0 |
| 241 | >; |
| 242 | tx-num-evt = <32>; |
| 243 | rx-num-evt = <32>; |
| 244 | }; |