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/pinctrl/brcm,nsp-pinmux.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 Broadcom NSP (Northstar plus) IOMUX Controller
    2 
    3 The NSP IOMUX controller supports group based mux configuration. In
    4 addition, certain pins can be muxed to GPIO function individually.
    5 
    6 Required properties:
    7 - compatible:
    8     Must be "brcm,nsp-pinmux"
    9 
   10 - reg:
   11     Should contain the register physical address and length for each of
   12     GPIO_CONTROL0, GP_AUX_SEL and IPROC_CONFIG IOMUX registers
   13 
   14 Properties in subnodes:
   15 - function:
   16     The mux function to select
   17 
   18 - groups:
   19     The list of groups to select with a given function
   20 
   21 For more details, refer to
   22 Documentation/devicetree/bindings/pinctrl/pinctrl-bindings.txt
   23 
   24 For example:
   25 
   26         pinmux: pinmux@1803f1c0 {
   27                 compatible = "brcm,nsp-pinmux";
   28                 reg = <0x1803f1c0 0x04>,
   29                       <0x18030028 0x04>,
   30                       <0x1803f408 0x04>;
   31 
   32                 pinctrl-names = "default";
   33                 pinctrl-0 = <&pwm>, <&gpio_b>, <&nand_sel>;
   34 
   35                 pwm: pwm {
   36                         function = "pwm";
   37                         groups = "pwm0_grp", "pwm1_grp";
   38                 };
   39 
   40                 gpio_b: gpio_b {
   41                         function = "gpio_b";
   42                         groups = "gpio_b_0_grp", "gpio_b_1_grp";
   43                 };
   44 
   45                 nand_sel: nand_sel {
   46                         function = "nand";
   47                         groups = "nand_grp";
   48                 };
   49         };
   50 
   51 List of supported functions and groups in Northstar Plus:
   52 
   53 "spi": "spi_grp"
   54 
   55 "i2c": "i2c_grp"
   56 
   57 "mdio": "mdio_grp"
   58 
   59 "pwm": "pwm0_grp", "pwm1_grp", "pwm2_grp", "pwm3_grp"
   60 
   61 "gpio_b": "gpio_b_0_grp", "gpio_b_1_grp", "gpio_b_2_grp", "gpio_b_3_grp"
   62 
   63 "uart1": "uart1_grp"
   64 
   65 "uart2": "uart2_grp"
   66 
   67 "synce": "synce_grp"
   68 
   69 "sata_led_grps": "sata0_led_grp", "sata1_led_grp"
   70 
   71 "xtal_out": "xtal_out_grp"
   72 
   73 "sdio": "sdio_pwr_grp", "sdio_1p8v_grp"
   74 
   75 "switch_led": "switch_p05_led0_grp", "switch_p05_led1_grp"
   76 
   77 "nand": "nand_grp"
   78 
   79 "emmc": "emmc_grp"

Cache object: a4bd16e641c4a7729aacf8b436837756


[ 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.