Home
last modified time | relevance | path

Searched +full:wpcm450 +full:- +full:fiu (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/Documentation/devicetree/bindings/spi/
Dnuvoton,wpcm450-fiu.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/spi/nuvoton,wpcm450-fiu.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Nuvoton WPCM450 Flash Interface Unit (FIU)
10 - Jonathan Neuschäfer <j.neuschaefer@gmx.net>
13 - $ref: /schemas/spi/spi-controller.yaml#
17 const: nuvoton,wpcm450-fiu
21 - description: FIU registers
22 - description: Memory-mapped flash contents
[all …]
/linux-6.12.1/drivers/spi/
Dspi-wpcm-fiu.c1 // SPDX-License-Identifier: GPL-2.0
10 #include <linux/spi/spi-mem.h>
53 /* The memory-mapped view of flash is 16 MiB long */
66 static void wpcm_fiu_set_opcode(struct wpcm_fiu_spi *fiu, u8 opcode) in wpcm_fiu_set_opcode() argument
68 writeb(opcode, fiu->regs + FIU_UMA_CODE); in wpcm_fiu_set_opcode()
71 static void wpcm_fiu_set_addr(struct wpcm_fiu_spi *fiu, u32 addr) in wpcm_fiu_set_addr() argument
73 writeb((addr >> 0) & 0xff, fiu->regs + FIU_UMA_AB0); in wpcm_fiu_set_addr()
74 writeb((addr >> 8) & 0xff, fiu->regs + FIU_UMA_AB1); in wpcm_fiu_set_addr()
75 writeb((addr >> 16) & 0xff, fiu->regs + FIU_UMA_AB2); in wpcm_fiu_set_addr()
78 static void wpcm_fiu_set_data(struct wpcm_fiu_spi *fiu, const u8 *data, unsigned int nbytes) in wpcm_fiu_set_data() argument
[all …]
/linux-6.12.1/arch/arm/boot/dts/nuvoton/
Dnuvoton-wpcm450.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 #include <dt-bindings/interrupt-controller/irq.h>
7 compatible = "nuvoton,wpcm450";
8 #address-cells = <1>;
9 #size-cells = <1>;
23 #address-cells = <1>;
24 #size-cells = <0>;
27 compatible = "arm,arm926ej-s";
33 clk24m: clock-24mhz {
35 compatible = "fixed-clock";
[all …]
Dnuvoton-wpcm450-supermicro-x9sci-ln4f.dts1 // SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
4 /dts-v1/;
9 #include "nuvoton-wpcm450.dtsi"
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/gpio/gpio.h>
15 model = "Supermicro X9SCi-LN4F BMC";
16 compatible = "supermicro,x9sci-ln4f-bmc", "nuvoton,wpcm450";
24 stdout-path = "serial0:115200n8";
32 gpio-keys {
33 compatible = "gpio-keys";
[all …]