The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/arm64/marvell/ac5-98dx35xx-rd.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
    2 /*
    3  * Device Tree For RD-AC5X.
    4  *
    5  * Copyright (C) 2021 Marvell
    6  * Copyright (C) 2022 Allied Telesis Labs
    7  */
    8 /*
    9  * Device Tree file for Marvell Alleycat 5X development board
   10  * This board file supports the B configuration of the board
   11  */
   12 
   13 /dts-v1/;
   14 
   15 #include "ac5-98dx35xx.dtsi"
   16 
   17 / {
   18         model = "Marvell RD-AC5X Board";
   19         compatible = "marvell,rd-ac5x", "marvell,ac5x", "marvell,ac5";
   20 
   21         aliases {
   22                 serial0 = &uart0;
   23                 spiflash0 = &spiflash0;
   24                 gpio0 = &gpio0;
   25                 gpio1 = &gpio1;
   26                 ethernet0 = &eth0;
   27                 ethernet1 = &eth1;
   28         };
   29 
   30         memory@0 {
   31                 device_type = "memory";
   32                 reg = <0x2 0x00000000 0x0 0x40000000>;
   33         };
   34 
   35         usb1phy: usb-phy {
   36                 compatible = "usb-nop-xceiv";
   37                 #phy-cells = <0>;
   38         };
   39 };
   40 
   41 &mdio {
   42         phy0: ethernet-phy@0 {
   43                 reg = <0>;
   44         };
   45 };
   46 
   47 &i2c0 {
   48         status = "okay";
   49 };
   50 
   51 &i2c1 {
   52         status = "okay";
   53 };
   54 
   55 &eth0 {
   56         status = "okay";
   57         phy-handle = <&phy0>;
   58 };
   59 
   60 /* USB0 is a host USB */
   61 &usb0 {
   62         status = "okay";
   63 };
   64 
   65 /* USB1 is a peripheral USB */
   66 &usb1 {
   67         status = "okay";
   68         phys = <&usb1phy>;
   69         phy-names = "usb-phy";
   70         dr_mode = "peripheral";
   71 };
   72 
   73 &spi0 {
   74         status = "okay";
   75 
   76         spiflash0: flash@0 {
   77                 compatible = "jedec,spi-nor";
   78                 spi-max-frequency = <50000000>;
   79                 spi-tx-bus-width = <1>; /* 1-single, 2-dual, 4-quad */
   80                 spi-rx-bus-width = <1>; /* 1-single, 2-dual, 4-quad */
   81                 reg = <0>;
   82 
   83                 #address-cells = <1>;
   84                 #size-cells = <1>;
   85 
   86                 partition@0 {
   87                         label = "spi_flash_part0";
   88                         reg = <0x0 0x800000>;
   89                 };
   90 
   91                 parition@1 {
   92                         label = "spi_flash_part1";
   93                         reg = <0x800000 0x700000>;
   94                 };
   95 
   96                 parition@2 {
   97                         label = "spi_flash_part2";
   98                         reg = <0xF00000 0x100000>;
   99                 };
  100         };
  101 };

Cache object: c9b61463e5fea678eb5dba168c9481dd


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.