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