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/net/nokia-bluetooth.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 Nokia Bluetooth Chips
    2 ---------------------
    3 
    4 Nokia phones often come with UART connected bluetooth chips from different
    5 vendors and modified device API. Those devices speak a protocol named H4+
    6 (also known as h4p) by Nokia, which is similar to the H4 protocol from the
    7 Bluetooth standard. In addition to the H4 protocol it specifies two more
    8 UART status lines for wakeup of UART transceivers to improve power management
    9 and a few new packet types used to negotiate uart speed.
   10 
   11 Required properties:
   12 
   13  - compatible: should contain "nokia,h4p-bluetooth" as well as one of the following:
   14    * "brcm,bcm2048-nokia"
   15    * "ti,wl1271-bluetooth-nokia"
   16  - reset-gpios: GPIO specifier, used to reset the BT module (active low)
   17  - bluetooth-wakeup-gpios: GPIO specifier, used to wakeup the BT module (active high)
   18  - host-wakeup-gpios: GPIO specifier, used to wakeup the host processor (active high)
   19  - clock-names: should be "sysclk"
   20  - clocks: should contain a clock specifier for every name in clock-names
   21 
   22 Optional properties:
   23 
   24  - None
   25 
   26 Example:
   27 
   28 / {
   29        /* controlled (enabled/disabled) directly by BT module */
   30        bluetooth_clk: vctcxo {
   31                compatible = "fixed-clock";
   32                #clock-cells = <0>;
   33                clock-frequency = <38400000>;
   34        };
   35 };
   36 
   37 &uart2 {
   38        pinctrl-names = "default";
   39        pinctrl-0 = <&uart2_pins>;
   40 
   41        bluetooth {
   42                compatible = "ti,wl1271-bluetooth-nokia", "nokia,h4p-bluetooth";
   43 
   44                reset-gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; /* gpio26 */
   45                host-wakeup-gpios = <&gpio4 5 GPIO_ACTIVE_HIGH>; /* gpio101 */
   46                bluetooth-wakeup-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>; /* gpio37 */
   47 
   48                clocks = <&bluetooth_clk>;
   49                clock-names = "sysclk";
   50        };
   51 };

Cache object: a4cfaecbfcf3399c88b0c893c00ff404


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