Merge tag 'v4.20-rc2' into next-general
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / net / mediatek-bluetooth.txt
1 MediaTek SoC built-in Bluetooth Devices
2 ==================================
3
4 This device is a serial attached device to BTIF device and thus it must be a
5 child node of the serial node with BTIF. The dt-bindings details for BTIF
6 device can be known via Documentation/devicetree/bindings/serial/8250.txt.
7
8 Required properties:
9
10 - compatible:   Must be
11                   "mediatek,mt7622-bluetooth": for MT7622 SoC
12 - clocks:       Should be the clock specifiers corresponding to the entry in
13                 clock-names property.
14 - clock-names:  Should contain "ref" entries.
15 - power-domains: Phandle to the power domain that the device is part of
16
17 Example:
18
19         btif: serial@1100c000 {
20                 compatible = "mediatek,mt7622-btif",
21                              "mediatek,mtk-btif";
22                 reg = <0 0x1100c000 0 0x1000>;
23                 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_LOW>;
24                 clocks = <&pericfg CLK_PERI_BTIF_PD>;
25                 clock-names = "main";
26                 reg-shift = <2>;
27                 reg-io-width = <4>;
28
29                 bluetooth {
30                         compatible = "mediatek,mt7622-bluetooth";
31                         power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
32                         clocks = <&clk25m>;
33                         clock-names = "ref";
34                 };
35         };