]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/arm/boot/dts/omap3-sb-t35.dtsi
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[mirror_ubuntu-focal-kernel.git] / arch / arm / boot / dts / omap3-sb-t35.dtsi
1 /*
2 * Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730
3 */
4
5 / {
6 tfp410: encoder {
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 {
22 remote-endpoint = <&dpi_out>;
23 };
24 };
25
26 port@1 {
27 reg = <1>;
28
29 tfp410_out: endpoint {
30 remote-endpoint = <&dvi_connector_in>;
31 };
32 };
33 };
34 };
35
36 dvi0: connector {
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 audio_amp: audio_amp {
48 compatible = "regulator-fixed";
49 regulator-name = "audio_amp";
50 pinctrl-names = "default";
51 pinctrl-0 = <&sb_t35_audio_amp>;
52 gpio = <&gpio2 29 GPIO_ACTIVE_LOW>; /* gpio_61 */
53 regulator-always-on;
54 };
55 };
56
57 &omap3_pmx_core {
58 smsc2_pins: pinmux_smsc2_pins {
59 pinctrl-single,pins = <
60 OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs4.gpmc_ncs4 */
61 OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_wait3.gpio_65 */
62 >;
63 };
64
65 tfp410_pins: pinmux_tfp410_pins {
66 pinctrl-single,pins = <
67 OMAP3_CORE1_IOPAD(0x20b4, PIN_OUTPUT | MUX_MODE4) /* gpmc_ncs3.gpio_54 */
68 >;
69 };
70
71 i2c3_pins: pinmux_i2c3_pins {
72 pinctrl-single,pins = <
73 OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */
74 OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */
75 >;
76 };
77
78 sb_t35_audio_amp: pinmux_sb_t35_audio_amp {
79 pinctrl-single,pins = <
80 OMAP3_CORE1_IOPAD(0x20c8, PIN_OUTPUT | MUX_MODE4) /* gpmc_nbe1.gpio_61 */
81 >;
82 };
83 };
84
85 &i2c3 {
86 pinctrl-names = "default";
87 pinctrl-0 = <&i2c3_pins>;
88
89 clock-frequency = <400000>;
90
91 at24@50 {
92 compatible = "atmel,24c02";
93 pagesize = <16>;
94 reg = <0x50>;
95 };
96 };
97
98 &gpmc {
99 ranges = <4 0 0x2d000000 0x01000000>;
100
101 smsc2: ethernet@4,0 {
102 compatible = "smsc,lan9221", "smsc,lan9115";
103 pinctrl-names = "default";
104 pinctrl-0 = <&smsc2_pins>;
105 interrupt-parent = <&gpio3>;
106 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
107 reg = <4 0 0xff>;
108 bank-width = <2>;
109 gpmc,device-width = <1>;
110 gpmc,cycle2cycle-samecsen = <1>;
111 gpmc,cycle2cycle-diffcsen = <1>;
112 gpmc,cs-on-ns = <5>;
113 gpmc,cs-rd-off-ns = <150>;
114 gpmc,cs-wr-off-ns = <150>;
115 gpmc,adv-on-ns = <0>;
116 gpmc,adv-rd-off-ns = <15>;
117 gpmc,adv-wr-off-ns = <40>;
118 gpmc,oe-on-ns = <45>;
119 gpmc,oe-off-ns = <140>;
120 gpmc,we-on-ns = <45>;
121 gpmc,we-off-ns = <140>;
122 gpmc,rd-cycle-ns = <155>;
123 gpmc,wr-cycle-ns = <155>;
124 gpmc,access-ns = <120>;
125 gpmc,page-burst-access-ns = <20>;
126 gpmc,bus-turnaround-ns = <75>;
127 gpmc,cycle2cycle-delay-ns = <75>;
128 gpmc,wait-monitoring-ns = <0>;
129 gpmc,clk-activation-ns = <0>;
130 gpmc,wr-data-mux-bus-ns = <0>;
131 gpmc,wr-access-ns = <0>;
132 vddvario-supply = <&vddvario>;
133 vdd33a-supply = <&vdd33a>;
134 reg-io-width = <4>;
135 smsc,save-mac-address;
136 };
137 };