2012-10-07 11:36:06 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2013-02-21 12:31:27 +00:00
|
|
|
#include "tegra20.dtsi"
|
2012-10-07 11:36:06 +00:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "Toradex Colibri T20";
|
2015-08-05 22:47:01 +00:00
|
|
|
compatible = "toradex,colibri_t20", "nvidia,tegra20";
|
2012-10-07 11:36:06 +00:00
|
|
|
|
2014-09-04 22:27:35 +00:00
|
|
|
chosen {
|
|
|
|
stdout-path = &uarta;
|
|
|
|
};
|
|
|
|
|
2012-10-07 11:36:06 +00:00
|
|
|
aliases {
|
2015-08-05 22:47:03 +00:00
|
|
|
i2c0 = "/i2c@7000d000";
|
|
|
|
i2c1 = "/i2c@7000c000";
|
|
|
|
i2c2 = "/i2c@7000c400";
|
2012-10-07 11:36:06 +00:00
|
|
|
usb0 = "/usb@c5008000";
|
|
|
|
usb1 = "/usb@c5000000";
|
|
|
|
usb2 = "/usb@c5004000";
|
2016-09-13 16:45:43 +00:00
|
|
|
mmc0 = "/sdhci@c8000600";
|
2012-10-07 11:36:06 +00:00
|
|
|
};
|
|
|
|
|
2016-01-30 23:37:52 +00:00
|
|
|
host1x@50000000 {
|
2015-08-05 22:47:02 +00:00
|
|
|
status = "okay";
|
|
|
|
dc@54200000 {
|
|
|
|
status = "okay";
|
|
|
|
rgb {
|
|
|
|
status = "okay";
|
|
|
|
nvidia,panel = <&lcd_panel>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-10-07 11:36:06 +00:00
|
|
|
usb@c5000000 {
|
2016-01-30 23:37:52 +00:00
|
|
|
statuc = "okay";
|
2012-10-07 11:36:06 +00:00
|
|
|
dr_mode = "otg";
|
|
|
|
};
|
|
|
|
|
|
|
|
usb@c5004000 {
|
2016-01-30 23:37:52 +00:00
|
|
|
statuc = "okay";
|
2015-08-05 22:47:10 +00:00
|
|
|
/* VBUS_LAN */
|
2016-09-15 18:19:37 +00:00
|
|
|
nvidia,phy-reset-gpio = <&gpio TEGRA_GPIO(V, 1)
|
|
|
|
GPIO_ACTIVE_LOW>;
|
2015-01-06 03:05:41 +00:00
|
|
|
nvidia,vbus-gpio = <&gpio TEGRA_GPIO(BB, 1) GPIO_ACTIVE_HIGH>;
|
2012-10-07 11:36:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
usb@c5008000 {
|
2016-01-30 23:37:52 +00:00
|
|
|
statuc = "okay";
|
2015-08-05 22:47:10 +00:00
|
|
|
/* USBH_PEN */
|
2015-01-06 03:05:41 +00:00
|
|
|
nvidia,vbus-gpio = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
|
2012-10-07 11:36:06 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nand-controller@70008000 {
|
2015-01-06 03:05:41 +00:00
|
|
|
nvidia,wp-gpios = <&gpio TEGRA_GPIO(S, 0) GPIO_ACTIVE_HIGH>;
|
2012-10-07 11:36:06 +00:00
|
|
|
nvidia,width = <8>;
|
|
|
|
nvidia,timing = <15 100 25 80 25 10 15 10 100>;
|
|
|
|
|
|
|
|
nand@0 {
|
|
|
|
reg = <0>;
|
|
|
|
compatible = "nand-flash";
|
|
|
|
};
|
|
|
|
};
|
2013-02-21 12:31:29 +00:00
|
|
|
|
2015-08-05 22:47:03 +00:00
|
|
|
/*
|
|
|
|
* GEN1_I2C: I2C_SDA/SCL on SODIMM pin 194/196 (e.g. RTC on carrier
|
|
|
|
* board)
|
|
|
|
*/
|
|
|
|
i2c@7000c000 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <100000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/* GEN2_I2C: unused */
|
|
|
|
|
|
|
|
/* DDC_CLOCK/DATA on X3 pin 15/16 (e.g. display EDID) */
|
|
|
|
i2c@7000c400 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <100000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
/*
|
|
|
|
* PWR_I2C: power I2C to PMIC and temperature sensor
|
|
|
|
*/
|
|
|
|
i2c@7000d000 {
|
|
|
|
status = "okay";
|
|
|
|
clock-frequency = <100000>;
|
|
|
|
};
|
|
|
|
|
2013-02-21 12:31:29 +00:00
|
|
|
sdhci@c8000600 {
|
|
|
|
status = "okay";
|
|
|
|
bus-width = <4>;
|
2015-08-05 22:47:10 +00:00
|
|
|
cd-gpios = <&gpio TEGRA_GPIO(C, 7) GPIO_ACTIVE_LOW>;
|
2013-02-21 12:31:29 +00:00
|
|
|
};
|
2015-08-05 22:47:02 +00:00
|
|
|
|
2016-01-30 23:37:52 +00:00
|
|
|
clocks {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
clk32k_in: clock@0 {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
reg=<0>;
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2016-01-30 23:38:01 +00:00
|
|
|
pwm: pwm@7000a000 {
|
|
|
|
status = "okay";
|
|
|
|
};
|
|
|
|
|
2015-08-05 22:47:02 +00:00
|
|
|
lcd_panel: panel {
|
|
|
|
clock = <25175000>;
|
|
|
|
xres = <640>;
|
|
|
|
yres = <480>;
|
|
|
|
left-margin = <48>; /* horizontal back porch */
|
|
|
|
right-margin = <16>; /* horizontal front porch */
|
|
|
|
hsync-len = <96>;
|
|
|
|
lower-margin = <11>; /* vertical front porch */
|
|
|
|
upper-margin = <31>; /* vertical back porch */
|
|
|
|
vsync-len = <2>;
|
|
|
|
hsync-active-high;
|
|
|
|
vsync-active-high;
|
|
|
|
nvidia,bits-per-pixel = <16>;
|
|
|
|
nvidia,pwm = <&pwm 0 0>;
|
|
|
|
nvidia,backlight-enable-gpios = <&gpio TEGRA_GPIO(T, 4) GPIO_ACTIVE_HIGH>;
|
|
|
|
nvidia,panel-timings = <0 0 0 0>;
|
|
|
|
};
|
2012-10-07 11:36:06 +00:00
|
|
|
};
|