blob: aff733e4ad59d3a0c8022d823eecdeb428af8b02 [file] [log] [blame]
Tony Lindgren0f0cfc62013-12-18 13:13:21 -08001/*
2 * Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730
3 */
4
Dmitry Lifshitze5ee0422014-11-02 13:19:58 +02005/ {
6 tfp410: encoder@0 {
7 compatible = "ti,tfp410";
8
9 powerdown-gpios = <&gpio2 22 GPIO_ACTIVE_LOW>; /* gpio_54 */
10
11 pinctrl-names = "default";
12 pinctrl-0 = <&tfp410_pins>;
13
14 ports {
15 #address-cells = <1>;
16 #size-cells = <0>;
17
18 port@0 {
19 reg = <0>;
20
21 tfp410_in: endpoint@0 {
22 remote-endpoint = <&dpi_out>;
23 };
24 };
25
26 port@1 {
27 reg = <1>;
28
29 tfp410_out: endpoint@0 {
30 remote-endpoint = <&dvi_connector_in>;
31 };
32 };
33 };
34 };
35
36 dvi0: connector@0 {
37 compatible = "dvi-connector";
38 label = "dvi";
39
40 port {
41 dvi_connector_in: endpoint {
42 remote-endpoint = <&tfp410_out>;
43 };
44 };
45 };
46};
47
Dmitry Lifshitzd234e422014-01-12 15:22:45 +020048&omap3_pmx_core {
49 smsc2_pins: pinmux_smsc2_pins {
50 pinctrl-single,pins = <
51 OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs4.gpmc_ncs4 */
52 OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_wait3.gpio_65 */
53 >;
54 };
Dmitry Lifshitze5ee0422014-11-02 13:19:58 +020055
56 tfp410_pins: pinmux_tfp410_pins {
57 pinctrl-single,pins = <
58 OMAP3_CORE1_IOPAD(0x20b4, PIN_OUTPUT | MUX_MODE4) /* gpmc_ncs3.gpio_54 */
59 >;
60 };
Dmitry Lifshitze35351b2014-11-18 11:13:20 +020061
62 i2c3_pins: pinmux_i2c3_pins {
63 pinctrl-single,pins = <
64 OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */
65 OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */
66 >;
67 };
68};
69
70&i2c3 {
71 pinctrl-names = "default";
72 pinctrl-0 = <&i2c3_pins>;
73
74 clock-frequency = <400000>;
75
76 at24@50 {
77 compatible = "at24,24c02";
78 pagesize = <16>;
79 reg = <0x50>;
80 };
Dmitry Lifshitzd234e422014-01-12 15:22:45 +020081};
82
Tony Lindgren0f0cfc62013-12-18 13:13:21 -080083&gpmc {
84 ranges = <4 0 0x2d000000 0x01000000>;
85
86 smsc2: ethernet@4,0 {
87 compatible = "smsc,lan9221", "smsc,lan9115";
Dmitry Lifshitzd234e422014-01-12 15:22:45 +020088 pinctrl-names = "default";
89 pinctrl-0 = <&smsc2_pins>;
Tony Lindgren0f0cfc62013-12-18 13:13:21 -080090 interrupt-parent = <&gpio3>;
91 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
92 reg = <4 0 0xff>;
93 bank-width = <2>;
Tony Lindgren13aec8e2014-11-03 16:48:16 -080094 gpmc,device-width = <1>;
95 gpmc,cycle2cycle-samecsen = <1>;
96 gpmc,cycle2cycle-diffcsen = <1>;
97 gpmc,cs-on-ns = <5>;
98 gpmc,cs-rd-off-ns = <150>;
99 gpmc,cs-wr-off-ns = <150>;
100 gpmc,adv-on-ns = <0>;
101 gpmc,adv-rd-off-ns = <15>;
102 gpmc,adv-wr-off-ns = <40>;
103 gpmc,oe-on-ns = <45>;
104 gpmc,oe-off-ns = <140>;
105 gpmc,we-on-ns = <45>;
106 gpmc,we-off-ns = <140>;
107 gpmc,rd-cycle-ns = <155>;
108 gpmc,wr-cycle-ns = <155>;
109 gpmc,access-ns = <120>;
110 gpmc,page-burst-access-ns = <20>;
111 gpmc,bus-turnaround-ns = <75>;
112 gpmc,cycle2cycle-delay-ns = <75>;
113 gpmc,wait-monitoring-ns = <0>;
114 gpmc,clk-activation-ns = <0>;
115 gpmc,wr-data-mux-bus-ns = <0>;
116 gpmc,wr-access-ns = <0>;
Tony Lindgrende9949a2014-04-23 11:04:30 -0700117 vddvario-supply = <&vddvario>;
118 vdd33a-supply = <&vdd33a>;
Tony Lindgren0f0cfc62013-12-18 13:13:21 -0800119 reg-io-width = <4>;
120 smsc,save-mac-address;
121 };
122};