xref: /openbmc/linux/arch/arm/boot/dts/ti/omap/omap-gpmc-smsc911x.dtsi (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Common file for GPMC connected smsc911x on omaps
4*724ba675SRob Herring *
5*724ba675SRob Herring * Note that the board specifc DTS file needs to specify
6*724ba675SRob Herring * ranges, pinctrl, reg, interrupt parent and interrupts.
7*724ba675SRob Herring */
8*724ba675SRob Herring
9*724ba675SRob Herring/ {
10*724ba675SRob Herring	vddvario: regulator-vddvario {
11*724ba675SRob Herring		compatible = "regulator-fixed";
12*724ba675SRob Herring		regulator-name = "vddvario";
13*724ba675SRob Herring		regulator-always-on;
14*724ba675SRob Herring	};
15*724ba675SRob Herring
16*724ba675SRob Herring	vdd33a: regulator-vdd33a {
17*724ba675SRob Herring		compatible = "regulator-fixed";
18*724ba675SRob Herring		regulator-name = "vdd33a";
19*724ba675SRob Herring		regulator-always-on;
20*724ba675SRob Herring	};
21*724ba675SRob Herring};
22*724ba675SRob Herring
23*724ba675SRob Herring&gpmc {
24*724ba675SRob Herring	ethernet@gpmc {
25*724ba675SRob Herring		compatible = "smsc,lan9221", "smsc,lan9115";
26*724ba675SRob Herring		bank-width = <2>;
27*724ba675SRob Herring		gpmc,device-width = <1>;
28*724ba675SRob Herring		gpmc,cycle2cycle-samecsen;
29*724ba675SRob Herring		gpmc,cycle2cycle-diffcsen;
30*724ba675SRob Herring		gpmc,cs-on-ns = <5>;
31*724ba675SRob Herring		gpmc,cs-rd-off-ns = <150>;
32*724ba675SRob Herring		gpmc,cs-wr-off-ns = <150>;
33*724ba675SRob Herring		gpmc,adv-on-ns = <0>;
34*724ba675SRob Herring		gpmc,adv-rd-off-ns = <15>;
35*724ba675SRob Herring		gpmc,adv-wr-off-ns = <40>;
36*724ba675SRob Herring		gpmc,oe-on-ns = <45>;
37*724ba675SRob Herring		gpmc,oe-off-ns = <140>;
38*724ba675SRob Herring		gpmc,we-on-ns = <45>;
39*724ba675SRob Herring		gpmc,we-off-ns = <140>;
40*724ba675SRob Herring		gpmc,rd-cycle-ns = <155>;
41*724ba675SRob Herring		gpmc,wr-cycle-ns = <155>;
42*724ba675SRob Herring		gpmc,access-ns = <120>;
43*724ba675SRob Herring		gpmc,page-burst-access-ns = <20>;
44*724ba675SRob Herring		gpmc,bus-turnaround-ns = <75>;
45*724ba675SRob Herring		gpmc,cycle2cycle-delay-ns = <75>;
46*724ba675SRob Herring		gpmc,wait-monitoring-ns = <0>;
47*724ba675SRob Herring		gpmc,clk-activation-ns = <0>;
48*724ba675SRob Herring		gpmc,wr-data-mux-bus-ns = <0>;
49*724ba675SRob Herring		gpmc,wr-access-ns = <0>;
50*724ba675SRob Herring		vddvario-supply = <&vddvario>;
51*724ba675SRob Herring		vdd33a-supply = <&vdd33a>;
52*724ba675SRob Herring		reg-io-width = <4>;
53*724ba675SRob Herring		smsc,save-mac-address;
54*724ba675SRob Herring	};
55*724ba675SRob Herring};
56