Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0-only
0002 /*
0003  * Copyright (C) 2015 Ash Charles, Gumstix, Inc.
0004  */
0005 
0006 /*
0007  * TobiDuo expansion board is manufactured by Gumstix Inc.
0008  */
0009 
0010 #include "omap3-overo-common-peripherals.dtsi"
0011 
0012 #include "omap-gpmc-smsc9221.dtsi"
0013 
0014 &gpmc {
0015         smsc1: ethernet@gpmc {
0016                 reg = <5 0 0xff>;
0017                 interrupt-parent = <&gpio6>;
0018                 interrupts = <16 IRQ_TYPE_LEVEL_LOW>;   /* GPIO 176 */
0019         };
0020 
0021         smsc2: ethernet@4,0 {
0022                 compatible = "smsc,lan9221","smsc,lan9115";
0023                 bank-width = <2>;
0024 
0025                 gpmc,mux-add-data = <0>;
0026                 gpmc,cs-on-ns = <0>;
0027                 gpmc,cs-rd-off-ns = <42>;
0028                 gpmc,cs-wr-off-ns = <36>;
0029                 gpmc,adv-on-ns = <6>;
0030                 gpmc,adv-rd-off-ns = <12>;
0031                 gpmc,adv-wr-off-ns = <12>;
0032                 gpmc,oe-on-ns = <0>;
0033                 gpmc,oe-off-ns = <42>;
0034                 gpmc,we-on-ns = <0>;
0035                 gpmc,we-off-ns = <36>;
0036                 gpmc,rd-cycle-ns = <60>;
0037                 gpmc,wr-cycle-ns = <54>;
0038                 gpmc,access-ns = <36>;
0039                 gpmc,page-burst-access-ns = <0>;
0040                 gpmc,bus-turnaround-ns = <0>;
0041                 gpmc,cycle2cycle-delay-ns = <0>;
0042                 gpmc,wr-data-mux-bus-ns = <18>;
0043                 gpmc,wr-access-ns = <42>;
0044                 gpmc,cycle2cycle-samecsen;
0045                 gpmc,cycle2cycle-diffcsen;
0046                 vddvario-supply = <&vddvario>;
0047                 vdd33a-supply = <&vdd33a>;
0048                 reg-io-width = <4>;
0049                 smsc,save-mac-address;
0050 
0051                 reg = <4 0 0xff>;
0052                 interrupt-parent = <&gpio3>;
0053                 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;    /* GPIO 65 */
0054         };
0055 };
0056 
0057 &lis33de {
0058         status = "disabled";
0059 };