Skip to content
Snippets Groups Projects
Commit be8daa83 authored by Robert Nelson's avatar Robert Nelson
Browse files

add ti: am57xx-evm-reva3.dts

parent ab47abdf
No related branches found
No related tags found
No related merge requests found
/*
* Copyright (C) 2015-2016 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 version 2 as
* published by the Free Software Foundation.
*/
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
/ {
compatible = "ti,am5728-evm", "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";
gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
autorepeat;
USER1 {
label = "Up";
linux,code = <KEY_UP>;
gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
};
USER2 {
label = "Down";
linux,code = <KEY_DOWN>;
gpios = <&gpio2 25 GPIO_ACTIVE_LOW>;
};
USER3 {
label = "Left";
linux,code = <KEY_LEFT>;
gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
};
USER4 {
label = "Right";
linux,code = <KEY_RIGHT>;
gpios = <&gpio2 24 GPIO_ACTIVE_LOW>;
};
USER5 {
label = "Home";
linux,code = <KEY_HOME>;
gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
};
};
aliases {
display0 = &lcd0;
display1 = &hdmi0;
};
lcd0: display {
compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
label = "lcd";
backlight = <&lcd_bl>;
enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
panel-timing {
clock-frequency = <33000000>;
hactive = <800>;
vactive = <480>;
hfront-porch = <210>;
hback-porch = <16>;
hsync-len = <30>;
vback-porch = <10>;
vfront-porch = <22>;
vsync-len = <13>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
port {
lcd_in: endpoint {
remote-endpoint = <&dpi_out>;
};
};
};
lcd_bl: backlight {
compatible = "pwm-backlight";
pwms = <&ehrpwm1 0 50000 0>;
/* Anything lower than 241 is no longer visible */
brightness-levels = <0 243 245 247 249 251 252 253 255>;
default-brightness-level = <8>;
};
vmmcwl_fixed: fixedregulator-mmcwl {
compatible = "regulator-fixed";
regulator-name = "vmmcwl_fixed";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio = <&gpio5 8 GPIO_ACTIVE_HIGH>;
enable-active-high;
};
};
&dss {
ports {
#address-cells = <1>;
#size-cells = <0>;
port {
reg = <0>;
dpi_out: endpoint {
remote-endpoint = <&lcd_in>;
data-lines = <24>;
};
};
};
};
&epwmss1 {
status = "okay";
};
&ehrpwm1 {
status = "okay";
};
&i2c5 {
status = "okay";
clock-frequency = <400000>;
pixcir_ts@5c {
compatible = "pixcir,pixcir_tangoc";
reg = <0x5c>;
interrupt-parent = <&gpio2>;
interrupts = <4 0>;
attb-gpio = <&gpio2 4 GPIO_ACTIVE_HIGH>;
reset-gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
touchscreen-size-x = <1024>;
touchscreen-size-y = <600>;
};
};
&uart8 {
status = "okay";
};
&mmc3 {
status = "okay";
vmmc-supply = <&vmmcwl_fixed>;
bus-width = <4>;
pinctrl-names = "default";
cap-power-off-card;
keep-power-in-suspend;
ti,non-removable;
#address-cells = <1>;
#size-cells = <0>;
wlcore: wlcore@2 {
compatible = "ti,wl1835";
reg = <2>;
interrupt-parent = <&gpio5>;
interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
};
};
/*
* Copyright (C) 2016 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 version 2 as
* published by the Free Software Foundation.
*/
#include "am57xx-beagle-x15-common.dtsi"
#include "am57xx-evm-common.dtsi"
#include "am57xx-industrial-grade.dtsi"
#include "am57xx-cmem.dtsi"
/ {
model = "TI AM572x EVM Rev A3";
};
&tpd12s015 {
gpios = <&gpio7 10 GPIO_ACTIVE_HIGH>, /* gpio7_10, CT CP HPD */
<&gpio2 30 GPIO_ACTIVE_HIGH>, /* gpio2_30, LS OE */
<&gpio7 12 GPIO_ACTIVE_HIGH>; /* gpio7_12/sp1_cs2, HPD */
};
&mmc1 {
pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50", "ddr50", "sdr104";
pinctrl-0 = <&mmc1_pins_default>;
pinctrl-1 = <&mmc1_pins_hs>;
pinctrl-2 = <&mmc1_pins_sdr12>;
pinctrl-3 = <&mmc1_pins_sdr25>;
pinctrl-4 = <&mmc1_pins_sdr50>;
pinctrl-5 = <&mmc1_pins_ddr50 &mmc1_iodelay_ddr_rev20_conf>;
pinctrl-6 = <&mmc1_pins_sdr104 &mmc1_iodelay_sdr104_rev20_conf>;
vmmc-supply = <&vdd_3v3>;
vqmmc-supply = <&ldo1_reg>;
};
&mmc2 {
pinctrl-names = "default", "hs", "ddr_1_8v";
pinctrl-0 = <&mmc2_pins_default>;
pinctrl-1 = <&mmc2_pins_hs>;
pinctrl-2 = <&mmc2_pins_ddr_rev20>;
};
&mmc3 {
pinctrl-names = "default", "hs", "sdr12", "sdr25", "sdr50";
pinctrl-0 = <&mmc3_pins_default>;
pinctrl-1 = <&mmc3_pins_hs>;
pinctrl-2 = <&mmc3_pins_sdr12>;
pinctrl-3 = <&mmc3_pins_sdr25>;
pinctrl-4 = <&mmc3_pins_sdr50 &mmc3_iodelay_manual1_rev20_conf>;
};
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment