]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - board/karo/dts/tx48.dts
add missing 'ocp' node
[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         ocp {
22                 i2c@44E0B000 {
23                         rtc1: ds1339@68 {
24                                 compatible = "dallas,ds1339";
25                                 reg = <0x68>;
26                                 trickle-charge = <0xa5>;
27                         };
28
29                         pmic: lt3589@48 {
30                                 compatible = "lt,lt3589";
31                                 reg = <0x48>;
32                         };
33
34                         codec: sgtl5000@0a {
35                                 compatible = "fsl,sgtl5000";
36                                 reg = <0x0a>;
37                                 VDDA-supply = <&reg_2p5v>;
38                                 VDDIO-supply = <&reg_3p3v>;
39                         };
40
41                         touchscreen: tsc2007@48 {
42                                 compatible = "ti,tsc2007";
43                                 reg = <0x48>;
44                                 interrupt-parent = <&gpio3>;
45                                 interrupts = <16 0>;
46                                 pendown-gpio = <&gpio3 16 1>;
47                                 model = "2007";
48                                 x-plate-ohms = <660>;
49                         };
50
51                         polytouch: edt-ft5x06@38 {
52                                 compatible = "edt,edt-ft5x06";
53                                 reg = <0x38>;
54                                 interrupt-parent = <&gpio1>;
55                                 interrupts = <17>;
56                                 reset-switch = <&edt_ft5x06_reset>;
57                                 wake-switch = <&edt_ft5x06_wake>;
58                         };
59                 };
60         };
61
62         gpio-switch {
63                 compatible = "gpio-switch";
64
65                 can_xcvr_enable: can-xcvr-enable {
66                         gpio = <&gpio0 22 1>;
67                         label = "Flexcan Transceiver Enable";
68                         gpio-shared;
69                 };
70
71                 lcd_power: lcd-power {
72                         compatible = "linux,gpio-switch";
73                         gpio = <&gpio1 22 0>;
74                         label = "LCD Power Enable";
75                 };
76
77                 lcd_reset: lcd-reset {
78                         compatible = "linux,gpio-switch";
79                         gpio = <&gpio1 19 1>;
80                         label = "LCD Reset";
81                         init-state = <1>;
82                 };
83
84                 edt_ft5x06_reset: edt-ft5x06-reset {
85                         compatible = "linux,gpio-switch";
86                         gpio = <&gpio1 18 1>;
87                         label = "EDT-FT5x06 RESET";
88                 };
89
90                 edt_ft5x06_wake: edt-ft5x06-wake {
91                         compatible = "linux,gpio-switch";
92                         gpio = <&gpio1 27 0>;
93                         label = "EDT-FT5x06 WAKE";
94                         init-state = <1>;
95                 };
96         };
97
98         regulators {
99                 compatible = "simple-bus";
100
101                 reg_2p5v: 2p5v {
102                         compatible = "regulator-fixed";
103                         regulator-name = "2P5V";
104                         regulator-min-microvolt = <2500000>;
105                         regulator-max-microvolt = <2500000>;
106                         regulator-always-on;
107                 };
108
109                 reg_3p3v: 3p3v {
110                         compatible = "regulator-fixed";
111                         regulator-name = "3P3V";
112                         regulator-min-microvolt = <3300000>;
113                         regulator-max-microvolt = <3300000>;
114                         regulator-always-on;
115                 };
116         };
117 };