Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 1 | /* |
| 2 | * Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730 |
| 3 | */ |
| 4 | |
Dmitry Lifshitz | e5ee042 | 2014-11-02 13:19:58 +0200 | [diff] [blame] | 5 | / { |
Javier Martinez Canillas | ece8410 | 2016-06-27 15:20:57 -0400 | [diff] [blame] | 6 | tfp410: encoder { |
Dmitry Lifshitz | e5ee042 | 2014-11-02 13:19:58 +0200 | [diff] [blame] | 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 | |
Javier Martinez Canillas | ece8410 | 2016-06-27 15:20:57 -0400 | [diff] [blame] | 21 | tfp410_in: endpoint { |
Dmitry Lifshitz | e5ee042 | 2014-11-02 13:19:58 +0200 | [diff] [blame] | 22 | remote-endpoint = <&dpi_out>; |
| 23 | }; |
| 24 | }; |
| 25 | |
| 26 | port@1 { |
| 27 | reg = <1>; |
| 28 | |
Javier Martinez Canillas | ece8410 | 2016-06-27 15:20:57 -0400 | [diff] [blame] | 29 | tfp410_out: endpoint { |
Dmitry Lifshitz | e5ee042 | 2014-11-02 13:19:58 +0200 | [diff] [blame] | 30 | remote-endpoint = <&dvi_connector_in>; |
| 31 | }; |
| 32 | }; |
| 33 | }; |
| 34 | }; |
| 35 | |
Javier Martinez Canillas | ece8410 | 2016-06-27 15:20:57 -0400 | [diff] [blame] | 36 | dvi0: connector { |
Dmitry Lifshitz | e5ee042 | 2014-11-02 13:19:58 +0200 | [diff] [blame] | 37 | compatible = "dvi-connector"; |
| 38 | label = "dvi"; |
| 39 | |
| 40 | port { |
| 41 | dvi_connector_in: endpoint { |
| 42 | remote-endpoint = <&tfp410_out>; |
| 43 | }; |
| 44 | }; |
| 45 | }; |
Dmitry Lifshitz | 01e9ef6 | 2014-11-23 11:42:02 +0200 | [diff] [blame] | 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 | enable-active-low; |
| 54 | regulator-always-on; |
| 55 | }; |
Dmitry Lifshitz | e5ee042 | 2014-11-02 13:19:58 +0200 | [diff] [blame] | 56 | }; |
| 57 | |
Dmitry Lifshitz | d234e42 | 2014-01-12 15:22:45 +0200 | [diff] [blame] | 58 | &omap3_pmx_core { |
| 59 | smsc2_pins: pinmux_smsc2_pins { |
| 60 | pinctrl-single,pins = < |
| 61 | OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs4.gpmc_ncs4 */ |
| 62 | OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_wait3.gpio_65 */ |
| 63 | >; |
| 64 | }; |
Dmitry Lifshitz | e5ee042 | 2014-11-02 13:19:58 +0200 | [diff] [blame] | 65 | |
| 66 | tfp410_pins: pinmux_tfp410_pins { |
| 67 | pinctrl-single,pins = < |
| 68 | OMAP3_CORE1_IOPAD(0x20b4, PIN_OUTPUT | MUX_MODE4) /* gpmc_ncs3.gpio_54 */ |
| 69 | >; |
| 70 | }; |
Dmitry Lifshitz | e35351b | 2014-11-18 11:13:20 +0200 | [diff] [blame] | 71 | |
| 72 | i2c3_pins: pinmux_i2c3_pins { |
| 73 | pinctrl-single,pins = < |
| 74 | OMAP3_CORE1_IOPAD(0x21c2, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_scl */ |
| 75 | OMAP3_CORE1_IOPAD(0x21c4, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c3_sda */ |
| 76 | >; |
| 77 | }; |
Dmitry Lifshitz | 01e9ef6 | 2014-11-23 11:42:02 +0200 | [diff] [blame] | 78 | |
| 79 | sb_t35_audio_amp: pinmux_sb_t35_audio_amp { |
| 80 | pinctrl-single,pins = < |
| 81 | OMAP3_CORE1_IOPAD(0x20c8, PIN_OUTPUT | MUX_MODE4) /* gpmc_nbe1.gpio_61 */ |
| 82 | >; |
| 83 | }; |
Dmitry Lifshitz | e35351b | 2014-11-18 11:13:20 +0200 | [diff] [blame] | 84 | }; |
| 85 | |
| 86 | &i2c3 { |
| 87 | pinctrl-names = "default"; |
| 88 | pinctrl-0 = <&i2c3_pins>; |
| 89 | |
| 90 | clock-frequency = <400000>; |
| 91 | |
| 92 | at24@50 { |
| 93 | compatible = "at24,24c02"; |
| 94 | pagesize = <16>; |
| 95 | reg = <0x50>; |
| 96 | }; |
Dmitry Lifshitz | d234e42 | 2014-01-12 15:22:45 +0200 | [diff] [blame] | 97 | }; |
| 98 | |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 99 | &gpmc { |
| 100 | ranges = <4 0 0x2d000000 0x01000000>; |
| 101 | |
| 102 | smsc2: ethernet@4,0 { |
| 103 | compatible = "smsc,lan9221", "smsc,lan9115"; |
Dmitry Lifshitz | d234e42 | 2014-01-12 15:22:45 +0200 | [diff] [blame] | 104 | pinctrl-names = "default"; |
| 105 | pinctrl-0 = <&smsc2_pins>; |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 106 | interrupt-parent = <&gpio3>; |
| 107 | interrupts = <1 IRQ_TYPE_LEVEL_LOW>; |
| 108 | reg = <4 0 0xff>; |
| 109 | bank-width = <2>; |
Tony Lindgren | 13aec8e | 2014-11-03 16:48:16 -0800 | [diff] [blame] | 110 | gpmc,device-width = <1>; |
| 111 | gpmc,cycle2cycle-samecsen = <1>; |
| 112 | gpmc,cycle2cycle-diffcsen = <1>; |
| 113 | gpmc,cs-on-ns = <5>; |
| 114 | gpmc,cs-rd-off-ns = <150>; |
| 115 | gpmc,cs-wr-off-ns = <150>; |
| 116 | gpmc,adv-on-ns = <0>; |
| 117 | gpmc,adv-rd-off-ns = <15>; |
| 118 | gpmc,adv-wr-off-ns = <40>; |
| 119 | gpmc,oe-on-ns = <45>; |
| 120 | gpmc,oe-off-ns = <140>; |
| 121 | gpmc,we-on-ns = <45>; |
| 122 | gpmc,we-off-ns = <140>; |
| 123 | gpmc,rd-cycle-ns = <155>; |
| 124 | gpmc,wr-cycle-ns = <155>; |
| 125 | gpmc,access-ns = <120>; |
| 126 | gpmc,page-burst-access-ns = <20>; |
| 127 | gpmc,bus-turnaround-ns = <75>; |
| 128 | gpmc,cycle2cycle-delay-ns = <75>; |
| 129 | gpmc,wait-monitoring-ns = <0>; |
| 130 | gpmc,clk-activation-ns = <0>; |
| 131 | gpmc,wr-data-mux-bus-ns = <0>; |
| 132 | gpmc,wr-access-ns = <0>; |
Tony Lindgren | de9949a | 2014-04-23 11:04:30 -0700 | [diff] [blame] | 133 | vddvario-supply = <&vddvario>; |
| 134 | vdd33a-supply = <&vdd33a>; |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 135 | reg-io-width = <4>; |
| 136 | smsc,save-mac-address; |
| 137 | }; |
| 138 | }; |