181973159SSean WangMediaTek SoC built-in Bluetooth Devices
281973159SSean Wang==================================
381973159SSean Wang
481973159SSean WangThis device is a serial attached device to BTIF device and thus it must be a
581973159SSean Wangchild node of the serial node with BTIF. The dt-bindings details for BTIF
681973159SSean Wangdevice can be known via Documentation/devicetree/bindings/serial/8250.txt.
781973159SSean Wang
881973159SSean WangRequired properties:
981973159SSean Wang
1081973159SSean Wang- compatible:	Must be
1181973159SSean Wang		  "mediatek,mt7622-bluetooth": for MT7622 SoC
1281973159SSean Wang- clocks:	Should be the clock specifiers corresponding to the entry in
1381973159SSean Wang		clock-names property.
1481973159SSean Wang- clock-names:	Should contain "ref" entries.
1581973159SSean Wang- power-domains: Phandle to the power domain that the device is part of
1681973159SSean Wang
1781973159SSean WangExample:
1881973159SSean Wang
1981973159SSean Wang	btif: serial@1100c000 {
2081973159SSean Wang		compatible = "mediatek,mt7622-btif",
2181973159SSean Wang			     "mediatek,mtk-btif";
2281973159SSean Wang		reg = <0 0x1100c000 0 0x1000>;
2381973159SSean Wang		interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_LOW>;
2481973159SSean Wang		clocks = <&pericfg CLK_PERI_BTIF_PD>;
2581973159SSean Wang		clock-names = "main";
2681973159SSean Wang		reg-shift = <2>;
2781973159SSean Wang		reg-io-width = <4>;
2881973159SSean Wang
2981973159SSean Wang		bluetooth {
3081973159SSean Wang			compatible = "mediatek,mt7622-bluetooth";
3181973159SSean Wang			power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
3281973159SSean Wang			clocks = <&clk25m>;
3381973159SSean Wang			clock-names = "ref";
3481973159SSean Wang		};
3581973159SSean Wang	};
36