1c9ccf3a3SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c9ccf3a3SEmmanuel Vadot%YAML 1.2 3c9ccf3a3SEmmanuel Vadot--- 4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/soc/microchip/microchip,mpfs-sys-controller.yaml# 5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c9ccf3a3SEmmanuel Vadot 7c9ccf3a3SEmmanuel Vadottitle: Microchip PolarFire SoC (MPFS) MSS (microprocessor subsystem) system controller 8c9ccf3a3SEmmanuel Vadot 9c9ccf3a3SEmmanuel Vadotmaintainers: 10c9ccf3a3SEmmanuel Vadot - Conor Dooley <conor.dooley@microchip.com> 11c9ccf3a3SEmmanuel Vadot 12c9ccf3a3SEmmanuel Vadotdescription: | 13c9ccf3a3SEmmanuel Vadot PolarFire SoC devices include a microcontroller acting as the system controller, 14c9ccf3a3SEmmanuel Vadot which provides "services" to the main processor and to the FPGA fabric. These 15aa1a8ff2SEmmanuel Vadot services include hardware rng, reprogramming of the FPGA and verification of the 16c9ccf3a3SEmmanuel Vadot eNVM contents etc. More information on these services can be found online, at 17c9ccf3a3SEmmanuel Vadot https://onlinedocs.microchip.com/pr/GUID-1409CF11-8EF9-4C24-A94E-70979A688632-en-US-1/index.html 18c9ccf3a3SEmmanuel Vadot 19c9ccf3a3SEmmanuel Vadot Communication with the system controller is done via a mailbox, of which the client 20c9ccf3a3SEmmanuel Vadot portion is documented here. 21c9ccf3a3SEmmanuel Vadot 22c9ccf3a3SEmmanuel Vadotproperties: 23c9ccf3a3SEmmanuel Vadot mboxes: 24c9ccf3a3SEmmanuel Vadot maxItems: 1 25c9ccf3a3SEmmanuel Vadot 26c9ccf3a3SEmmanuel Vadot compatible: 27c9ccf3a3SEmmanuel Vadot const: microchip,mpfs-sys-controller 28c9ccf3a3SEmmanuel Vadot 29*8d13bc63SEmmanuel Vadot microchip,bitstream-flash: 30*8d13bc63SEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 31*8d13bc63SEmmanuel Vadot description: 32*8d13bc63SEmmanuel Vadot The SPI flash connected to the system controller's QSPI controller. 33*8d13bc63SEmmanuel Vadot The system controller may retrieve FPGA bitstreams from this flash to 34*8d13bc63SEmmanuel Vadot perform In-Application Programming (IAP) or during device initialisation 35*8d13bc63SEmmanuel Vadot for Auto Update. The MSS and system controller have separate QSPI 36*8d13bc63SEmmanuel Vadot controllers and this flash is connected to both. Software running in the 37*8d13bc63SEmmanuel Vadot MSS can write bitstreams to the flash. 38*8d13bc63SEmmanuel Vadot 39c9ccf3a3SEmmanuel Vadotrequired: 40c9ccf3a3SEmmanuel Vadot - compatible 41c9ccf3a3SEmmanuel Vadot - mboxes 42c9ccf3a3SEmmanuel Vadot 43c9ccf3a3SEmmanuel VadotadditionalProperties: false 44c9ccf3a3SEmmanuel Vadot 45c9ccf3a3SEmmanuel Vadotexamples: 46c9ccf3a3SEmmanuel Vadot - | 47c9ccf3a3SEmmanuel Vadot syscontroller { 48c9ccf3a3SEmmanuel Vadot compatible = "microchip,mpfs-sys-controller"; 49c9ccf3a3SEmmanuel Vadot mboxes = <&mbox 0>; 50c9ccf3a3SEmmanuel Vadot }; 51