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 | d234e42 | 2014-01-12 15:22:45 +0200 | [diff] [blame] | 5 | &omap3_pmx_core { |
| 6 | smsc2_pins: pinmux_smsc2_pins { |
| 7 | pinctrl-single,pins = < |
| 8 | OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs4.gpmc_ncs4 */ |
| 9 | OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_wait3.gpio_65 */ |
| 10 | >; |
| 11 | }; |
| 12 | }; |
| 13 | |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 14 | &gpmc { |
| 15 | ranges = <4 0 0x2d000000 0x01000000>; |
| 16 | |
| 17 | smsc2: ethernet@4,0 { |
| 18 | compatible = "smsc,lan9221", "smsc,lan9115"; |
Dmitry Lifshitz | d234e42 | 2014-01-12 15:22:45 +0200 | [diff] [blame] | 19 | pinctrl-names = "default"; |
| 20 | pinctrl-0 = <&smsc2_pins>; |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 21 | interrupt-parent = <&gpio3>; |
| 22 | interrupts = <1 IRQ_TYPE_LEVEL_LOW>; |
| 23 | reg = <4 0 0xff>; |
| 24 | bank-width = <2>; |
| 25 | gpmc,mux-add-data; |
Tony Lindgren | dcf2191 | 2014-04-23 11:04:42 -0700 | [diff] [blame] | 26 | gpmc,cs-on-ns = <1>; |
| 27 | gpmc,cs-rd-off-ns = <180>; |
| 28 | gpmc,cs-wr-off-ns = <180>; |
| 29 | gpmc,adv-rd-off-ns = <18>; |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 30 | gpmc,adv-wr-off-ns = <48>; |
| 31 | gpmc,oe-on-ns = <54>; |
| 32 | gpmc,oe-off-ns = <168>; |
| 33 | gpmc,we-on-ns = <54>; |
| 34 | gpmc,we-off-ns = <168>; |
| 35 | gpmc,rd-cycle-ns = <186>; |
| 36 | gpmc,wr-cycle-ns = <186>; |
Tony Lindgren | dcf2191 | 2014-04-23 11:04:42 -0700 | [diff] [blame] | 37 | gpmc,access-ns = <144>; |
| 38 | gpmc,page-burst-access-ns = <24>; |
| 39 | gpmc,bus-turnaround-ns = <90>; |
| 40 | gpmc,cycle2cycle-delay-ns = <90>; |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 41 | gpmc,cycle2cycle-samecsen; |
| 42 | gpmc,cycle2cycle-diffcsen; |
Tony Lindgren | de9949a | 2014-04-23 11:04:30 -0700 | [diff] [blame] | 43 | vddvario-supply = <&vddvario>; |
| 44 | vdd33a-supply = <&vdd33a>; |
Tony Lindgren | 0f0cfc6 | 2013-12-18 13:13:21 -0800 | [diff] [blame] | 45 | reg-io-width = <4>; |
| 46 | smsc,save-mac-address; |
| 47 | }; |
| 48 | }; |