1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * Common file for GPMC connected smsc9221 on 3 * Common file for GPMC connected smsc9221 on omaps 4 * 4 * 5 * Compared to smsc911x, smsc9221 (and others 5 * Compared to smsc911x, smsc9221 (and others like smsc9217 6 * or smsc 9218) has faster timings, leading t 6 * or smsc 9218) has faster timings, leading to higher 7 * bandwidth. 7 * bandwidth. 8 * 8 * 9 * Note that the board specifc DTS file needs 9 * Note that the board specifc DTS file needs to specify 10 * ranges, pinctrl, reg, interrupt parent and 10 * ranges, pinctrl, reg, interrupt parent and interrupts. 11 */ 11 */ 12 12 13 / { 13 / { 14 vddvario: regulator-vddvario { 14 vddvario: regulator-vddvario { 15 compatible = "regulator-fixed" 15 compatible = "regulator-fixed"; 16 regulator-name = "vddvario"; 16 regulator-name = "vddvario"; 17 regulator-always-on; 17 regulator-always-on; 18 }; 18 }; 19 19 20 vdd33a: regulator-vdd33a { 20 vdd33a: regulator-vdd33a { 21 compatible = "regulator-fixed" 21 compatible = "regulator-fixed"; 22 regulator-name = "vdd33a"; 22 regulator-name = "vdd33a"; 23 regulator-always-on; 23 regulator-always-on; 24 }; 24 }; 25 }; 25 }; 26 26 27 &gpmc { 27 &gpmc { 28 ethernet@gpmc { 28 ethernet@gpmc { 29 compatible = "smsc,lan9221","s 29 compatible = "smsc,lan9221","smsc,lan9115"; 30 bank-width = <2>; 30 bank-width = <2>; 31 31 32 gpmc,mux-add-data = <0>; 32 gpmc,mux-add-data = <0>; 33 gpmc,cs-on-ns = <0>; 33 gpmc,cs-on-ns = <0>; 34 gpmc,cs-rd-off-ns = <42>; 34 gpmc,cs-rd-off-ns = <42>; 35 gpmc,cs-wr-off-ns = <36>; 35 gpmc,cs-wr-off-ns = <36>; 36 gpmc,adv-on-ns = <6>; 36 gpmc,adv-on-ns = <6>; 37 gpmc,adv-rd-off-ns = <12>; 37 gpmc,adv-rd-off-ns = <12>; 38 gpmc,adv-wr-off-ns = <12>; 38 gpmc,adv-wr-off-ns = <12>; 39 gpmc,oe-on-ns = <0>; 39 gpmc,oe-on-ns = <0>; 40 gpmc,oe-off-ns = <42>; 40 gpmc,oe-off-ns = <42>; 41 gpmc,we-on-ns = <0>; 41 gpmc,we-on-ns = <0>; 42 gpmc,we-off-ns = <36>; 42 gpmc,we-off-ns = <36>; 43 gpmc,rd-cycle-ns = <60>; 43 gpmc,rd-cycle-ns = <60>; 44 gpmc,wr-cycle-ns = <54>; 44 gpmc,wr-cycle-ns = <54>; 45 gpmc,access-ns = <36>; 45 gpmc,access-ns = <36>; 46 gpmc,page-burst-access-ns = <0 46 gpmc,page-burst-access-ns = <0>; 47 gpmc,bus-turnaround-ns = <0>; 47 gpmc,bus-turnaround-ns = <0>; 48 gpmc,cycle2cycle-delay-ns = <0 48 gpmc,cycle2cycle-delay-ns = <0>; 49 gpmc,wr-data-mux-bus-ns = <18> 49 gpmc,wr-data-mux-bus-ns = <18>; 50 gpmc,wr-access-ns = <42>; 50 gpmc,wr-access-ns = <42>; 51 gpmc,cycle2cycle-samecsen; 51 gpmc,cycle2cycle-samecsen; 52 gpmc,cycle2cycle-diffcsen; 52 gpmc,cycle2cycle-diffcsen; 53 53 54 vddvario-supply = <&vddvario>; 54 vddvario-supply = <&vddvario>; 55 vdd33a-supply = <&vdd33a>; 55 vdd33a-supply = <&vdd33a>; 56 reg-io-width = <4>; 56 reg-io-width = <4>; 57 smsc,save-mac-address; 57 smsc,save-mac-address; 58 }; 58 }; 59 }; 59 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.