2013-12-19 05:13:21 +08:00
|
|
|
/*
|
|
|
|
* Common support for CompuLab SB-T35 used on SBC-T3530, SBC-T3517 and SBC-T3730
|
|
|
|
*/
|
|
|
|
|
2014-01-12 21:22:45 +08:00
|
|
|
&omap3_pmx_core {
|
|
|
|
smsc2_pins: pinmux_smsc2_pins {
|
|
|
|
pinctrl-single,pins = <
|
|
|
|
OMAP3_CORE1_IOPAD(0x20b6, PIN_OUTPUT | MUX_MODE0) /* gpmc_ncs4.gpmc_ncs4 */
|
|
|
|
OMAP3_CORE1_IOPAD(0x20d2, PIN_INPUT_PULLUP | MUX_MODE4) /* gpmc_wait3.gpio_65 */
|
|
|
|
>;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2013-12-19 05:13:21 +08:00
|
|
|
&gpmc {
|
|
|
|
ranges = <4 0 0x2d000000 0x01000000>;
|
|
|
|
|
|
|
|
smsc2: ethernet@4,0 {
|
|
|
|
compatible = "smsc,lan9221", "smsc,lan9115";
|
2014-01-12 21:22:45 +08:00
|
|
|
pinctrl-names = "default";
|
|
|
|
pinctrl-0 = <&smsc2_pins>;
|
2013-12-19 05:13:21 +08:00
|
|
|
interrupt-parent = <&gpio3>;
|
|
|
|
interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
reg = <4 0 0xff>;
|
|
|
|
bank-width = <2>;
|
|
|
|
gpmc,mux-add-data;
|
2014-04-24 02:04:42 +08:00
|
|
|
gpmc,cs-on-ns = <1>;
|
|
|
|
gpmc,cs-rd-off-ns = <180>;
|
|
|
|
gpmc,cs-wr-off-ns = <180>;
|
|
|
|
gpmc,adv-rd-off-ns = <18>;
|
2013-12-19 05:13:21 +08:00
|
|
|
gpmc,adv-wr-off-ns = <48>;
|
|
|
|
gpmc,oe-on-ns = <54>;
|
|
|
|
gpmc,oe-off-ns = <168>;
|
|
|
|
gpmc,we-on-ns = <54>;
|
|
|
|
gpmc,we-off-ns = <168>;
|
|
|
|
gpmc,rd-cycle-ns = <186>;
|
|
|
|
gpmc,wr-cycle-ns = <186>;
|
2014-04-24 02:04:42 +08:00
|
|
|
gpmc,access-ns = <144>;
|
|
|
|
gpmc,page-burst-access-ns = <24>;
|
|
|
|
gpmc,bus-turnaround-ns = <90>;
|
|
|
|
gpmc,cycle2cycle-delay-ns = <90>;
|
2013-12-19 05:13:21 +08:00
|
|
|
gpmc,cycle2cycle-samecsen;
|
|
|
|
gpmc,cycle2cycle-diffcsen;
|
2014-04-24 02:04:30 +08:00
|
|
|
vddvario-supply = <&vddvario>;
|
|
|
|
vdd33a-supply = <&vdd33a>;
|
2013-12-19 05:13:21 +08:00
|
|
|
reg-io-width = <4>;
|
|
|
|
smsc,save-mac-address;
|
|
|
|
};
|
|
|
|
};
|