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