1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (C) 2017 Marvell Technology Group 4 * 5 * Device Tree file for the Armada 80x0 SoC fa 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) (0xf600000 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) (0xfa00000 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 o 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-8 73 }; 74 }; 75 76 &cp1_syscon0 { 77 cp1_pinctrl: pinctrl { 78 compatible = "marvell,armada-8 79 80 nand_pins: nand-pins { 81 marvell,pins = 82 "mpp0", "mpp1", "mpp2" 83 "mpp4", "mpp5", "mpp6" 84 "mpp8", "mpp9", "mpp10 85 "mpp15", "mpp16", "mpp 86 "mpp19", "mpp20", "mpp 87 "mpp23", "mpp24", "mpp 88 "mpp27"; 89 marvell,function = "de 90 }; 91 92 nand_rb: nand-rb { 93 marvell,pins = "mpp13" 94 marvell,function = "nf 95 }; 96 }; 97 }; 98 99 &cp1_crypto { 100 /* 101 * The cryptographic engine found on t 102 * master is enabled by default at the 103 * level. Because it is not possible a 104 * to enable two cryptographic engines 105 * parallel, disable this one by defau 106 */ 107 status = "disabled"; 108 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.