]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/karo/dts/tx48.dts
Unified codebase for TX28, TX48, TX51, TX53
[karo-tx-uboot.git] / board / karo / dts / tx48.dts
1 /*
2  * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License version 2 as
6  * published by the Free Software Foundation.
7  */
8 /dts-v1/;
9
10 /include/ ARCH_CPU_DTS
11
12 / {
13         model = "Ka-Ro electronics TX48 module";
14         compatible = "karo,tx48", "ti,am33xx";
15
16         memory {
17                 device_type = "memory";
18                 reg = <0x80000000 0x10000000>; /* 256 MB */
19         };
20
21         i2c@44E0B000 {
22                 rtc1: ds1339@68 {
23                         compatible = "dallas,ds1339";
24                         reg = <0x68>;
25                         trickle-charge = <0xa5>;
26                 };
27
28                 pmic: lt3589@48 {
29                         compatible = "lt,lt3589";
30                         reg = <0x48>;
31                 };
32
33                 codec: sgtl5000@0a {
34                         compatible = "fsl,sgtl5000";
35                         reg = <0x0a>;
36                         VDDA-supply = <&reg_2p5v>;
37                         VDDIO-supply = <&reg_3p3v>;
38                 };
39
40                 touchscreen: tsc2007@48 {
41                         compatible = "ti,tsc2007";
42                         reg = <0x48>;
43                         interrupt-parent = <&gpio3>;
44                         interrupts = <16 0>;
45                         pendown-gpio = <&gpio3 16 1>;
46                         model = "2007";
47                         x-plate-ohms = <660>;
48                 };
49
50                 polytouch: edt-ft5x06@38 {
51                         compatible = "edt,edt-ft5x06";
52                         reg = <0x38>;
53                         interrupt-parent = <&gpio1>;
54                         interrupts = <17>;
55                         reset-switch = <&edt_ft5x06_reset>;
56                         wake-switch = <&edt_ft5x06_wake>;
57                 };
58         };
59
60         gpio-switch {
61                 compatible = "gpio-switch";
62
63                 can_xcvr_enable: can-xcvr-enable {
64                         gpio = <&gpio0 22 1>;
65                         label = "Flexcan Transceiver Enable";
66                         gpio-shared;
67                 };
68
69                 lcd_power: lcd-power {
70                         compatible = "linux,gpio-switch";
71                         gpio = <&gpio1 22 0>;
72                         label = "LCD Power Enable";
73                 };
74
75                 lcd_reset: lcd-reset {
76                         compatible = "linux,gpio-switch";
77                         gpio = <&gpio1 19 1>;
78                         label = "LCD Reset";
79                         init-state = <1>;
80                 };
81
82                 edt_ft5x06_reset: edt-ft5x06-reset {
83                         compatible = "linux,gpio-switch";
84                         gpio = <&gpio1 18 1>;
85                         label = "EDT-FT5x06 RESET";
86                 };
87
88                 edt_ft5x06_wake: edt-ft5x06-wake {
89                         compatible = "linux,gpio-switch";
90                         gpio = <&gpio1 27 0>;
91                         label = "EDT-FT5x06 WAKE";
92                         init-state = <1>;
93                 };
94         };
95
96         regulators {
97                 compatible = "simple-bus";
98
99                 reg_2p5v: 2p5v {
100                         compatible = "regulator-fixed";
101                         regulator-name = "2P5V";
102                         regulator-min-microvolt = <2500000>;
103                         regulator-max-microvolt = <2500000>;
104                         regulator-always-on;
105                 };
106
107                 reg_3p3v: 3p3v {
108                         compatible = "regulator-fixed";
109                         regulator-name = "3P3V";
110                         regulator-min-microvolt = <3300000>;
111                         regulator-max-microvolt = <3300000>;
112                         regulator-always-on;
113                 };
114         };
115 };