The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/spi/nuvoton,npcm-pspi.txt

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 Nuvoton NPCM Peripheral Serial Peripheral Interface(PSPI) controller driver
    2 
    3 Nuvoton NPCM7xx SOC support two PSPI channels.
    4 
    5 Required properties:
    6  - compatible : "nuvoton,npcm750-pspi" for NPCM7XX BMC
    7  - #address-cells : should be 1. see spi-bus.txt
    8  - #size-cells : should be 0. see spi-bus.txt
    9  - specifies physical base address and size of the register.
   10  - interrupts : contain PSPI interrupt.
   11  - clocks : phandle of PSPI reference clock.
   12  - clock-names: Should be "clk_apb5".
   13  - pinctrl-names : a pinctrl state named "default" must be defined.
   14  - pinctrl-0 : phandle referencing pin configuration of the device.
   15  - resets : phandle to the reset control for this device.
   16  - cs-gpios: Specifies the gpio pins to be used for chipselects.
   17             See: Documentation/devicetree/bindings/spi/spi-bus.txt
   18 
   19 Optional properties:
   20 - clock-frequency : Input clock frequency to the PSPI block in Hz.
   21                     Default is 25000000 Hz.
   22 
   23 spi0: spi@f0200000 {
   24         compatible = "nuvoton,npcm750-pspi";
   25         reg = <0xf0200000 0x1000>;
   26         pinctrl-names = "default";
   27         pinctrl-0 = <&pspi1_pins>;
   28         #address-cells = <1>;
   29         #size-cells = <0>;
   30         interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
   31         clocks = <&clk NPCM7XX_CLK_APB5>;
   32         clock-names = "clk_apb5";
   33         resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>
   34         cs-gpios = <&gpio6 11 GPIO_ACTIVE_LOW>;
   35 };

Cache object: cb5e8618ab7283f65268546ebd361669


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.