blob: b3b6e43810211119c9c54adb222acb0ff96aa33f [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 Lifshitzd234e422014-01-12 15:22:45 +02005&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 Lindgren0f0cfc62013-12-18 13:13:21 -080014&gpmc {
15 ranges = <4 0 0x2d000000 0x01000000>;
16
17 smsc2: ethernet@4,0 {
18 compatible = "smsc,lan9221", "smsc,lan9115";
Dmitry Lifshitzd234e422014-01-12 15:22:45 +020019 pinctrl-names = "default";
20 pinctrl-0 = <&smsc2_pins>;
Tony Lindgren0f0cfc62013-12-18 13:13:21 -080021 interrupt-parent = <&gpio3>;
22 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
23 reg = <4 0 0xff>;
24 bank-width = <2>;
25 gpmc,mux-add-data;
26 gpmc,cs-on-ns = <0>;
27 gpmc,cs-rd-off-ns = <186>;
28 gpmc,cs-wr-off-ns = <186>;
29 gpmc,adv-on-ns = <12>;
30 gpmc,adv-rd-off-ns = <48>;
31 gpmc,adv-wr-off-ns = <48>;
32 gpmc,oe-on-ns = <54>;
33 gpmc,oe-off-ns = <168>;
34 gpmc,we-on-ns = <54>;
35 gpmc,we-off-ns = <168>;
36 gpmc,rd-cycle-ns = <186>;
37 gpmc,wr-cycle-ns = <186>;
38 gpmc,access-ns = <114>;
39 gpmc,page-burst-access-ns = <6>;
40 gpmc,bus-turnaround-ns = <12>;
41 gpmc,cycle2cycle-delay-ns = <18>;
42 gpmc,wr-data-mux-bus-ns = <90>;
43 gpmc,wr-access-ns = <186>;
44 gpmc,cycle2cycle-samecsen;
45 gpmc,cycle2cycle-diffcsen;
46 vddvario-supply = <&vddvario>;
47 vdd33a-supply = <&vdd33a>;
48 reg-io-width = <4>;
49 smsc,save-mac-address;
50 };
51};