~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/armada-xp-db-xc3-24g4xg.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Device Tree file for DB-XC3-24G4XG board
  4  *
  5  * Copyright (C) 2016 Allied Telesis Labs
  6  *
  7  * Based on armada-xp-db.dts
  8  *
  9  * Note: this Device Tree assumes that the bootloader has remapped the
 10  * internal registers to 0xf1000000 (instead of the default
 11  * 0xd0000000). The 0xf1000000 is the default used by the recent,
 12  * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier
 13  * boards were delivered with an older version of the bootloader that
 14  * left internal registers mapped at 0xd0000000. If you are in this
 15  * situation, you should either update your bootloader (preferred
 16  * solution) or the below Device Tree should be adjusted.
 17  */
 18 
 19 /dts-v1/;
 20 #include "armada-xp-98dx3336.dtsi"
 21 
 22 / {
 23         model = "DB-XC3-24G4XG";
 24         compatible = "marvell,db-xc3-24g4xg", "marvell,armadaxp-98dx3336", "marvell,armada-370-xp";
 25 
 26         chosen {
 27                 bootargs = "console=ttyS0,115200 earlyprintk";
 28         };
 29 
 30         memory {
 31                 device_type = "memory";
 32                 reg = <0 0x00000000 0 0x40000000>; /* 1 GB */
 33         };
 34 };
 35 
 36 &L2 {
 37         arm,parity-enable;
 38         marvell,ecc-enable;
 39 };
 40 
 41 &devbus_bootcs {
 42         status = "okay";
 43 
 44         /* Device Bus parameters are required */
 45 
 46         /* Read parameters */
 47         devbus,bus-width    = <16>;
 48         devbus,turn-off-ps  = <60000>;
 49         devbus,badr-skew-ps = <0>;
 50         devbus,acc-first-ps = <124000>;
 51         devbus,acc-next-ps  = <248000>;
 52         devbus,rd-setup-ps  = <0>;
 53         devbus,rd-hold-ps   = <0>;
 54 
 55         /* Write parameters */
 56         devbus,sync-enable = <0>;
 57         devbus,wr-high-ps  = <60000>;
 58         devbus,wr-low-ps   = <60000>;
 59         devbus,ale-wr-ps   = <60000>;
 60 };
 61 
 62 &uart0 {
 63         status = "okay";
 64 };
 65 
 66 &uart1 {
 67         status = "okay";
 68 };
 69 
 70 &i2c0 {
 71         clock-frequency = <100000>;
 72         status = "okay";
 73 };
 74 
 75 &nand_controller {
 76         status = "okay";
 77 
 78         nand@0 {
 79                 reg = <0>;
 80                 label = "pxa3xx_nand-0";
 81                 nand-rb = <0>;
 82                 marvell,nand-keep-config;
 83                 nand-on-flash-bbt;
 84                 nand-ecc-strength = <4>;
 85                 nand-ecc-step-size = <512>;
 86         };
 87 };
 88 
 89 &spi0 {
 90         status = "okay";
 91 
 92         flash@0 {
 93                 #address-cells = <1>;
 94                 #size-cells = <1>;
 95                 compatible = "m25p64";
 96                 reg = <0>; /* Chip select 0 */
 97                 spi-max-frequency = <20000000>;
 98                 m25p,fast-read;
 99 
100                 partition@u-boot {
101                         reg = <0x00000000 0x00100000>;
102                         label = "u-boot";
103                 };
104                 partition@u-boot-env {
105                         reg = <0x00100000 0x00040000>;
106                         label = "u-boot-env";
107                 };
108                 partition@unused {
109                         reg = <0x00140000 0x00ec0000>;
110                         label = "unused";
111                 };
112 
113         };
114 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php