2012-08-30 01:55:27 +08:00
|
|
|
/*
|
|
|
|
* Device Tree for DA850 EVM board
|
|
|
|
*
|
|
|
|
* Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU General Public License as published by the
|
|
|
|
* Free Software Foundation, version 2.
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
2013-06-14 17:45:53 +08:00
|
|
|
#include "da850.dtsi"
|
2012-08-30 01:55:27 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
compatible = "ti,da850-evm", "ti,da850";
|
|
|
|
model = "DA850/AM1808/OMAP-L138 EVM";
|
|
|
|
|
2016-04-01 23:42:03 +08:00
|
|
|
soc@1c00000 {
|
|
|
|
pmx_core: pinmux@14120 {
|
2013-01-16 17:07:39 +08:00
|
|
|
status = "okay";
|
2014-08-01 14:13:28 +08:00
|
|
|
|
|
|
|
mcasp0_pins: pinmux_mcasp0_pins {
|
|
|
|
pinctrl-single,bits = <
|
|
|
|
/*
|
|
|
|
* AHCLKX, ACLKX, AFSX, AHCLKR, ACLKR,
|
|
|
|
* AFSR, AMUTE
|
|
|
|
*/
|
|
|
|
0x00 0x11111111 0xffffffff
|
|
|
|
/* AXR11, AXR12 */
|
|
|
|
0x04 0x00011000 0x000ff000
|
|
|
|
>;
|
|
|
|
};
|
2013-01-16 17:07:39 +08:00
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
serial0: serial@42000 {
|
2012-08-30 01:55:27 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
serial1: serial@10c000 {
|
2012-08-30 01:55:27 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
serial2: serial@10d000 {
|
2012-08-30 01:55:27 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
rtc0: rtc@23000 {
|
2013-01-28 15:47:48 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
i2c0: i2c@22000 {
|
2013-02-06 17:36:22 +08:00
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <100000>;
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&i2c0_pins>;
|
2013-03-07 14:26:21 +08:00
|
|
|
|
|
|
|
tps: tps@48 {
|
|
|
|
reg = <0x48>;
|
|
|
|
};
|
2014-08-01 14:13:29 +08:00
|
|
|
tlv320aic3106: tlv320aic3106@18 {
|
2014-08-01 14:13:30 +08:00
|
|
|
#sound-dai-cells = <0>;
|
2014-08-01 14:13:29 +08:00
|
|
|
compatible = "ti,tlv320aic3106";
|
|
|
|
reg = <0x18>;
|
|
|
|
status = "okay";
|
|
|
|
|
|
|
|
/* Regulators */
|
|
|
|
IOVDD-supply = <&vdcdc2_reg>;
|
|
|
|
/* Derived from VBAT: Baseboard 3.3V / 1.8V */
|
|
|
|
AVDD-supply = <&vbat>;
|
|
|
|
DRVDD-supply = <&vbat>;
|
|
|
|
DVDD-supply = <&vbat>;
|
|
|
|
};
|
|
|
|
|
2013-02-06 17:36:22 +08:00
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
wdt: wdt@21000 {
|
2013-02-06 12:00:03 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
mmc0: mmc@40000 {
|
2013-03-28 21:12:01 +08:00
|
|
|
max-frequency = <50000000>;
|
|
|
|
bus-width = <4>;
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&mmc0_pins>;
|
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
spi1: spi@30e000 {
|
2013-04-03 22:09:10 +08:00
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&spi1_pins &spi1_cs0_pin>;
|
|
|
|
flash: m25p80@0 {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "m25p64";
|
|
|
|
spi-max-frequency = <30000000>;
|
|
|
|
reg = <0>;
|
|
|
|
partition@0 {
|
|
|
|
label = "U-Boot-SPL";
|
|
|
|
reg = <0x00000000 0x00010000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
partition@1 {
|
|
|
|
label = "U-Boot";
|
|
|
|
reg = <0x00010000 0x00080000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
partition@2 {
|
|
|
|
label = "U-Boot-Env";
|
|
|
|
reg = <0x00090000 0x00010000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
partition@3 {
|
|
|
|
label = "Kernel";
|
|
|
|
reg = <0x000a0000 0x00280000>;
|
|
|
|
};
|
|
|
|
partition@4 {
|
|
|
|
label = "Filesystem";
|
|
|
|
reg = <0x00320000 0x00400000>;
|
|
|
|
};
|
|
|
|
partition@5 {
|
|
|
|
label = "MAC-Address";
|
|
|
|
reg = <0x007f0000 0x00010000>;
|
|
|
|
read-only;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
mdio: mdio@224000 {
|
2013-08-15 14:01:34 +08:00
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&mdio_pins>;
|
|
|
|
bus_freq = <2200000>;
|
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
eth0: ethernet@220000 {
|
2013-08-17 01:07:09 +08:00
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&mii_pins>;
|
|
|
|
};
|
2016-04-01 23:42:03 +08:00
|
|
|
gpio: gpio@226000 {
|
2013-11-22 02:15:31 +08:00
|
|
|
status = "okay";
|
|
|
|
};
|
2012-08-30 01:55:27 +08:00
|
|
|
};
|
2013-01-16 17:07:41 +08:00
|
|
|
nand_cs3@62000000 {
|
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&nand_cs3_pins>;
|
|
|
|
};
|
2016-08-02 00:46:59 +08:00
|
|
|
vbat: fixedregulator0 {
|
2013-03-07 14:26:21 +08:00
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "vbat";
|
|
|
|
regulator-min-microvolt = <5000000>;
|
|
|
|
regulator-max-microvolt = <5000000>;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
2014-08-01 14:13:30 +08:00
|
|
|
|
|
|
|
sound {
|
|
|
|
compatible = "simple-audio-card";
|
|
|
|
simple-audio-card,name = "DA850/OMAP-L138 EVM";
|
|
|
|
simple-audio-card,widgets =
|
|
|
|
"Line", "Line In",
|
|
|
|
"Line", "Line Out";
|
|
|
|
simple-audio-card,routing =
|
|
|
|
"LINE1L", "Line In",
|
|
|
|
"LINE1R", "Line In",
|
|
|
|
"Line Out", "LLOUT",
|
|
|
|
"Line Out", "RLOUT";
|
|
|
|
simple-audio-card,format = "dsp_b";
|
|
|
|
simple-audio-card,bitclock-master = <&link0_codec>;
|
|
|
|
simple-audio-card,frame-master = <&link0_codec>;
|
|
|
|
simple-audio-card,bitclock-inversion;
|
|
|
|
|
|
|
|
simple-audio-card,cpu {
|
|
|
|
sound-dai = <&mcasp0>;
|
|
|
|
system-clock-frequency = <24576000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
link0_codec: simple-audio-card,codec {
|
|
|
|
sound-dai = <&tlv320aic3106>;
|
|
|
|
system-clock-frequency = <24576000>;
|
|
|
|
};
|
|
|
|
};
|
2013-03-07 14:26:21 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
/include/ "tps6507x.dtsi"
|
|
|
|
|
|
|
|
&tps {
|
|
|
|
vdcdc1_2-supply = <&vbat>;
|
|
|
|
vdcdc3-supply = <&vbat>;
|
|
|
|
vldo1_2-supply = <&vbat>;
|
|
|
|
|
|
|
|
regulators {
|
|
|
|
vdcdc1_reg: regulator@0 {
|
|
|
|
regulator-name = "VDCDC1_3.3V";
|
|
|
|
regulator-min-microvolt = <3150000>;
|
|
|
|
regulator-max-microvolt = <3450000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdcdc2_reg: regulator@1 {
|
|
|
|
regulator-name = "VDCDC2_3.3V";
|
|
|
|
regulator-min-microvolt = <1710000>;
|
|
|
|
regulator-max-microvolt = <3450000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
ti,defdcdc_default = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
vdcdc3_reg: regulator@2 {
|
|
|
|
regulator-name = "VDCDC3_1.2V";
|
|
|
|
regulator-min-microvolt = <950000>;
|
|
|
|
regulator-max-microvolt = <1350000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
ti,defdcdc_default = <1>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo1_reg: regulator@3 {
|
|
|
|
regulator-name = "LDO1_1.8V";
|
|
|
|
regulator-min-microvolt = <1710000>;
|
|
|
|
regulator-max-microvolt = <1890000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
ldo2_reg: regulator@4 {
|
|
|
|
regulator-name = "LDO2_1.2V";
|
|
|
|
regulator-min-microvolt = <1140000>;
|
|
|
|
regulator-max-microvolt = <1320000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
};
|
2012-08-30 01:55:27 +08:00
|
|
|
};
|
2014-08-01 14:13:28 +08:00
|
|
|
|
|
|
|
&mcasp0 {
|
2014-08-01 14:13:30 +08:00
|
|
|
#sound-dai-cells = <0>;
|
2014-08-01 14:13:28 +08:00
|
|
|
status = "okay";
|
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&mcasp0_pins>;
|
|
|
|
|
|
|
|
op-mode = <0>; /* MCASP_IIS_MODE */
|
|
|
|
tdm-slots = <2>;
|
|
|
|
/* 4 serializer */
|
|
|
|
serial-dir = < /* 0: INACTIVE, 1: TX, 2: RX */
|
|
|
|
0 0 0 0
|
|
|
|
0 0 0 0
|
|
|
|
0 0 0 1
|
|
|
|
2 0 0 0
|
|
|
|
>;
|
|
|
|
tx-num-evt = <32>;
|
|
|
|
rx-num-evt = <32>;
|
|
|
|
};
|
2015-12-17 21:27:48 +08:00
|
|
|
|
|
|
|
&edma0 {
|
|
|
|
ti,edma-reserved-slot-ranges = <32 50>;
|
|
|
|
};
|
2015-12-17 21:27:49 +08:00
|
|
|
|
|
|
|
&edma1 {
|
|
|
|
ti,edma-reserved-slot-ranges = <32 90>;
|
|
|
|
};
|