/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
H A D | sifive,plic-1.0.0.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 4 --- 5 $id: http://devicetree.org/schemas/interrupt-controlle [all...] |
H A D | sifive,plic-1.0.0.txt | 1 SiFive Platform-Level Interrupt Controller (PLIC) 2 ------------------------------------------------- 4 SiFive SOCs include an implementation of the Platform-Level Interrupt Controller 5 (PLIC) high-level specification in the RISC-V Privileged Architecture 6 specification. The PLIC connects all external interrupts in the system to all 10 in an 4 core system with 2-way SMT, you have 8 harts and probably at least two 13 Each interrupt can be enabled on per-context basis. Any context can claim 18 with priority below this threshold will not cause the PLIC to raise its 21 While the PLIC supports both edge-triggered and level-triggered interrupts, 23 specified in the PLIC device-tree binding. [all …]
|
H A D | riscv,cpu-intc.txt | 1 RISC-V Hart-Level Interrupt Controller (HLIC) 2 --------------------------------------------- 4 RISC-V cores include Control Status Registers (CSRs) which are local to each 5 CPU core (HART in RISC-V terminology) and can be read or written by software. 10 The RISC-V supervisor ISA manual specifies three interrupt sources that are 13 timer interrupt comes from an architecturally mandated real-time timer that is 16 via the platform-level interrupt controller (PLIC). 18 All RISC-V systems that conform to the supervisor ISA specification are 21 entry, though external interrupt controllers (like the PLIC, for example) will 23 a PLIC interrupt property will typically list the HLICs for all present HARTs [all …]
|
/freebsd/sys/contrib/device-tree/src/riscv/microchip/ |
H A D | microchip-mpfs.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 4 /dts-v1/; 5 #include "dt-bindings/clock/microchip,mpfs-clock.h" 6 #include "microchip-mpfs-fabric.dtsi" 9 #address-cells = <2>; 10 #size-cells = <2>; 15 #address-cells = <1>; 16 #size-cells = <0>; 21 i-cache-block-size = <64>; [all …]
|
H A D | mpfs.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 4 /dts-v1/; 5 #include "dt-bindings/clock/microchip,mpfs-clock.h" 8 #address-cells = <2>; 9 #size-cells = <2>; 14 #address-cell 209 plic: interrupt-controller@c000000 { global() label [all...] |
H A D | mpfs-icicle-kit-fabric.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 5 compatible = "microchip,mpfs-icicle-reference-rtlv2210", "microchip,mpfs-icicle-kit", 9 compatible = "microchip,corepwm-rtl-v4"; 11 microchip,sync-update-mask = /bits/ 32 <0>; 12 #pwm-cells = <3>; 18 compatible = "microchip,corei2c-rtl-v7"; 20 #address-cells = <1>; 21 #size-cells = <0>; 23 interrupt-parent = <&plic>; [all …]
|
H A D | microchip-mpfs-fabric.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2021 Microchip Technology Inc */ 6 compatible = "microchip,corepwm-rtl-v4"; 8 microchip,sync-update-mask = /bits/ 32 <0>; 9 #pwm-cells = <2>; 15 compatible = "microchip,corei2c-rtl-v7"; 17 #address-cells = <1>; 18 #size-cells = <0>; 20 interrupt-parent = <&plic>; 22 clock-frequency = <100000>; [all …]
|
H A D | mpfs-polarberry-fabric.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2020-2022 Microchip Technology Inc */ 5 fabric_clk3: fabric-clk3 { 6 compatible = "fixed-clock"; 7 #clock-cells = <0>; 8 clock-frequency = <62500000>; 11 fabric_clk1: fabric-clk1 { 12 compatible = "fixed-clock"; 13 #clock-cells = <0>; 14 clock-frequency = <125000000>; [all …]
|
H A D | mpfs-m100pfs-fabric.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 fabric_clk3: fabric-clk3 { 6 compatible = "fixed-clock"; 7 #clock-cells = <0>; 8 clock-frequency = <62500000>; 11 fabric_clk1: fabric-clk1 { 12 compatible = "fixed-clock"; 13 #clock-cells = <0>; 14 clock-frequency = <125000000>; 18 compatible = "microchip,pcie-host-1.0"; [all …]
|
/freebsd/sys/riscv/riscv/ |
H A D | plic.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 10 * and Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of 16 * 1. Redistributions of source code must retain the above copyright 52 #include <dt-bindings/interrupt-controller/irq.h> 70 (_sc->contexts[_cpu].enable_offset + ((_irq) / 32) * sizeof(uint32_t)) 72 (_sc->contexts[_cpu].context_offset + PLIC_CONTEXT_THRESHOLD) 74 (_sc->contexts[_cpu].context_offset + PLIC_CONTEXT_CLAIM) 106 { "riscv,plic0", 1 }, 107 { "sifive,plic-1.0.0", 1 }, [all …]
|
/freebsd/sys/contrib/device-tree/src/riscv/allwinner/ |
H A D | sun20i-d1s.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 // Copyright (C) 2021-2022 Samuel Holland <samuel@sholland.org> 6 #include "sunxi-d1s-t113.dtsi" 10 timebase-frequency = <24000000>; 11 #address-cells = <1>; 12 #size-cell 64 plic: interrupt-controller@10000000 { global() label [all...] |
/freebsd/sys/contrib/device-tree/src/riscv/renesas/ |
H A D | r9a07g043f.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include <dt-bindings/interrupt-controller/irq.h> 16 #address-cells = <1>; 47 plic: interrupt-controller@12c00000 { global() label [all...] |
/freebsd/sys/contrib/device-tree/src/riscv/starfive/ |
H A D | jh7100.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 8 #include <dt-bindings/clock/starfive-jh7100.h> 9 #include <dt-bindings/reset/starfive-jh7100.h> 13 #address-cells = <2>; 14 #size-cell 125 plic: interrupt-controller@c000000 { global() label [all...] |
H A D | jh7110.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 8 #include <dt-bindings/clock/starfive,jh7110-crg.h> 9 #include <dt-bindings/power/starfive,jh7110-pmu.h> 10 #include <dt-bindings/reset/starfive,jh7110-cr 300 plic: interrupt-controller@c000000 { global() label [all...] |
/freebsd/sys/contrib/device-tree/src/riscv/thead/ |
H A D | th1520.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 #include <dt-bindings/interrupt-controller/irq.h> 11 #address-cells = <2>; 12 #size-cells = <2>; 15 #address-cells = <1>; 16 #size-cell 144 plic: interrupt-controller@ffd8000000 { global() label [all...] |
/freebsd/sys/contrib/device-tree/Bindings/net/can/ |
H A D | microchip,mpfs-can.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/net/can/microchip,mpfs-can.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Conor Dooley <conor.dooley@microchip.com> 14 - $ref: can-controller.yaml# 18 const: microchip,mpfs-can 21 maxItems: 1 24 maxItems: 1 27 maxItems: 1 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/spi/ |
H A D | microchip,mpfs-spi.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/spi/microchip,mpfs-spi.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Conor Dooley <conor.dooley@microchip.com> 17 - $ref: spi-controller.yaml# 22 - items: 23 - const: microchip,mpfs-qspi 24 - const: microchip,coreqspi-rtl-v2 25 - const: microchip,coreqspi-rtl-v2 # FPGA QSPI [all …]
|
H A D | spi-sifive.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/spi/spi-sifive.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Pragnesh Patel <pragnesh.patel@sifive.com> 11 - Paul Walmsley <paul.walmsley@sifive.com> 12 - Palmer Dabbelt <palmer@sifive.com> 15 - $ref: spi-controller.yaml# 20 - enum: 21 - sifive,fu540-c000-spi [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/usb/ |
H A D | microchip,mpfs-musb.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/microchip,mpfs-musb.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - $ref: usb-drd.yaml# 13 - Conor Dooley <conor.dooley@microchip.com> 18 - microchip,mpfs-musb 23 maxItems: 1 29 interrupt-names: 31 - const: dma [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/i2c/ |
H A D | microchip,corei2c.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Daire McNamara <daire.mcnamara@microchip.com> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - items: 19 - const: microchip,mpfs-i2c # Microchip PolarFire SoC compatible SoCs 20 - const: microchip,corei2c-rtl-v7 # Microchip Fabric based i2c IP core 21 - const: microchip,corei2c-rtl-v7 # Microchip Fabric based i2c IP core 24 maxItems: 1 [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/gpio/ |
H A D | sifive,gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Paul Walmsley <paul.walmsley@sifive.com> 15 - enum: 16 - sifive,fu540-c000-gpio 17 - sifive,fu740-c000-gpio 18 - canaan,k210-gpiohs 19 - const: sifive,gpio0 22 maxItems: 1 [all …]
|
H A D | microchip,mpfs-gpio.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/microchip,mpfs-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Conor Dooley <conor.dooley@microchip.com> 15 - enum: 16 - microchip,mpfs-gpio 19 maxItems: 1 24 minItems: 1 27 interrupt-controller: true [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pwm/ |
H A D | pwm-sifive.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/pwm/pwm-sifive.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Paul Walmsley <paul.walmsley@sifive.com> 19 numbers can be found here - 21 https://github.com/sifive/sifive-blocks/tree/master/src/main/scala/devices/pwm 24 - $ref: pwm.yaml# 29 - enum: 30 - sifive,fu540-c000-pwm [all …]
|
/freebsd/sys/contrib/device-tree/src/riscv/sifive/ |
H A D | fu540-c000.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2018-2019 SiFive, Inc */ 4 /dts-v1/; 6 #include <dt-bindings/clock/sifive-fu540-prci.h> 9 #address-cells = <2>; 10 #size-cell [all...] |
H A D | fu740-c000.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 /dts-v1/; 6 #include <dt-bindings/clock/sifive-fu740-prci.h> 9 #address-cells = <2>; 10 #size-cells = <2>; 11 compatible = "sifive,fu740-c00 [all...] |