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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm64/marvell/armada-80x0.dtsi

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  * Copyright (C) 2017 Marvell Technology Group Ltd.
  4  *
  5  * Device Tree file for the Armada 80x0 SoC family
  6  */
  7 
  8 / {
  9         aliases {
 10                 gpio1 = &cp1_gpio1;
 11                 gpio2 = &cp0_gpio2;
 12                 spi1 = &cp0_spi0;
 13                 spi2 = &cp0_spi1;
 14                 spi3 = &cp1_spi0;
 15                 spi4 = &cp1_spi1;
 16         };
 17 };
 18 
 19 /*
 20  * Instantiate the master CP110
 21  */
 22 #define CP11X_NAME              cp0
 23 #define CP11X_BASE              f2000000
 24 #define CP11X_PCIEx_MEM_BASE(iface) (0xf6000000 + (iface * 0x1000000))
 25 #define CP11X_PCIEx_MEM_SIZE(iface) 0xf00000
 26 #define CP11X_PCIE0_BASE        f2600000
 27 #define CP11X_PCIE1_BASE        f2620000
 28 #define CP11X_PCIE2_BASE        f2640000
 29 
 30 #include "armada-cp110.dtsi"
 31 
 32 #undef CP11X_NAME
 33 #undef CP11X_BASE
 34 #undef CP11X_PCIEx_MEM_BASE
 35 #undef CP11X_PCIEx_MEM_SIZE
 36 #undef CP11X_PCIE0_BASE
 37 #undef CP11X_PCIE1_BASE
 38 #undef CP11X_PCIE2_BASE
 39 
 40 /*
 41  * Instantiate the slave CP110
 42  */
 43 #define CP11X_NAME              cp1
 44 #define CP11X_BASE              f4000000
 45 #define CP11X_PCIEx_MEM_BASE(iface) (0xfa000000 + (iface * 0x1000000))
 46 #define CP11X_PCIEx_MEM_SIZE(iface) 0xf00000
 47 #define CP11X_PCIE0_BASE        f4600000
 48 #define CP11X_PCIE1_BASE        f4620000
 49 #define CP11X_PCIE2_BASE        f4640000
 50 
 51 #include "armada-cp110.dtsi"
 52 
 53 #undef CP11X_NAME
 54 #undef CP11X_BASE
 55 #undef CP11X_PCIEx_MEM_BASE
 56 #undef CP11X_PCIEx_MEM_SIZE
 57 #undef CP11X_PCIE0_BASE
 58 #undef CP11X_PCIE1_BASE
 59 #undef CP11X_PCIE2_BASE
 60 
 61 /* The 80x0 has two CP blocks, but uses only one block from each. */
 62 &cp1_gpio1 {
 63         status = "okay";
 64 };
 65 
 66 &cp0_gpio2 {
 67         status = "okay";
 68 };
 69 
 70 &cp0_syscon0 {
 71         cp0_pinctrl: pinctrl {
 72                 compatible = "marvell,armada-8k-cpm-pinctrl";
 73         };
 74 };
 75 
 76 &cp1_syscon0 {
 77         cp1_pinctrl: pinctrl {
 78                 compatible = "marvell,armada-8k-cps-pinctrl";
 79 
 80                 nand_pins: nand-pins {
 81                         marvell,pins =
 82                         "mpp0", "mpp1", "mpp2", "mpp3",
 83                         "mpp4", "mpp5", "mpp6", "mpp7",
 84                         "mpp8", "mpp9", "mpp10", "mpp11",
 85                         "mpp15", "mpp16", "mpp17", "mpp18",
 86                         "mpp19", "mpp20", "mpp21", "mpp22",
 87                         "mpp23", "mpp24", "mpp25", "mpp26",
 88                         "mpp27";
 89                         marvell,function = "dev";
 90                 };
 91 
 92                 nand_rb: nand-rb {
 93                         marvell,pins = "mpp13", "mpp12";
 94                         marvell,function = "nf";
 95                 };
 96         };
 97 };
 98 
 99 &cp1_crypto {
100         /*
101          * The cryptographic engine found on the cp110
102          * master is enabled by default at the SoC
103          * level. Because it is not possible as of now
104          * to enable two cryptographic engines in
105          * parallel, disable this one by default.
106          */
107         status = "disabled";
108 };

~ [ 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