1*c11e7732SElad Nachman// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2*c11e7732SElad Nachman/* 3*c11e7732SElad Nachman * Copyright (C) 2023 Marvell International Ltd. 4*c11e7732SElad Nachman * 5*c11e7732SElad Nachman * Device tree for the AC5X RD Type 7 Com Express carrier board, 6*c11e7732SElad Nachman * Utilizing the CN913x COM Express CPU module board. 7*c11e7732SElad Nachman * This specific carrier board in this mode of operation (external) 8*c11e7732SElad Nachman * only maintains a PCIe link with the CPU module, 9*c11e7732SElad Nachman * which does not require any special DTS definitions. 10*c11e7732SElad Nachman * 11*c11e7732SElad Nachman * AC5X RD works here in external mode (switch selectable at the back of the 12*c11e7732SElad Nachman * board), and connect via an external cable a kit 13*c11e7732SElad Nachman * which would allow it to use an external CN9131 CPU COM Express module, 14*c11e7732SElad Nachman * mounted on top of an interposer kit. 15*c11e7732SElad Nachman * 16*c11e7732SElad Nachman * So in this case, once the switch is set to external mode as explained above, 17*c11e7732SElad Nachman * the AC5X RD becomes part of the carrier solution. 18*c11e7732SElad Nachman * 19*c11e7732SElad Nachman * When the board boots in the external CPU mode, the internal CPU is disabled, 20*c11e7732SElad Nachman * and only the switch portion of the SOC acts as a PCIe end-point, Hence there 21*c11e7732SElad Nachman * is no need to describe this internal (disabled CPU) in the device tree. 22*c11e7732SElad Nachman * 23*c11e7732SElad Nachman * There is no CPU booting in this mode on the carrier, only on the 24*c11e7732SElad Nachman * CN9131 COM Express CPU module. 25*c11e7732SElad Nachman * What runs the Linux is the CN9131 on the COM Express CPU module, 26*c11e7732SElad Nachman * And it accesses the switch end-point on the AC5X RD portion of the carrier 27*c11e7732SElad Nachman * via PCIe. 28*c11e7732SElad Nachman */ 29*c11e7732SElad Nachman 30*c11e7732SElad Nachman#include "cn9131-db-comexpress.dtsi" 31*c11e7732SElad Nachman#include "ac5x-rd-carrier.dtsi" 32*c11e7732SElad Nachman 33*c11e7732SElad Nachman/ { 34*c11e7732SElad Nachman model = "Marvell Armada AC5X RD COM EXPRESS type 7 carrier board with CN9131 CPU module"; 35*c11e7732SElad Nachman compatible = "marvell,cn9131-ac5x-carrier", "marvell,rd-ac5x-carrier", 36*c11e7732SElad Nachman "marvell,cn9131-cpu-module", "marvell,cn9131", 37*c11e7732SElad Nachman "marvell,armada-ap807-quad", "marvell,armada-ap807"; 38*c11e7732SElad Nachman 39*c11e7732SElad Nachman memory@0 { 40*c11e7732SElad Nachman device_type = "memory"; 41*c11e7732SElad Nachman reg = <0x0 0x0 0x2 0x00000000>; 42*c11e7732SElad Nachman }; 43*c11e7732SElad Nachman 44*c11e7732SElad Nachman}; 45