1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Cl 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/soc/hisilic 4 $id: http://devicetree.org/schemas/soc/hisilicon/hisilicon,hi3660-usb3-otg-bc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Hisilicon Kirin 960 USB OTG Battery Cha 7 title: Hisilicon Kirin 960 USB OTG Battery Charging Syscon 8 8 9 maintainers: 9 maintainers: 10 - Mauro Carvalho Chehab <mchehab+huawei@kerne 10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 items: 14 items: 15 - const: hisilicon,hi3660-usb3-otg-bc 15 - const: hisilicon,hi3660-usb3-otg-bc 16 - const: syscon 16 - const: syscon 17 - const: simple-mfd 17 - const: simple-mfd 18 18 19 reg: 19 reg: 20 maxItems: 1 20 maxItems: 1 21 21 22 usb-phy: 22 usb-phy: 23 $ref: /schemas/phy/hisilicon,hi3660-usb3.y 23 $ref: /schemas/phy/hisilicon,hi3660-usb3.yaml 24 description: USB Phy node 24 description: USB Phy node 25 25 26 required: 26 required: 27 - compatible 27 - compatible 28 - reg 28 - reg 29 - usb-phy 29 - usb-phy 30 30 31 additionalProperties: false 31 additionalProperties: false 32 32 33 examples: 33 examples: 34 - | 34 - | 35 syscon@ff200000 { 35 syscon@ff200000 { 36 compatible = "hisilicon,hi3660-usb3-ot 36 compatible = "hisilicon,hi3660-usb3-otg-bc", "syscon", "simple-mfd"; 37 reg = <0xff200000 0x1000>; 37 reg = <0xff200000 0x1000>; 38 38 39 usb-phy { 39 usb-phy { 40 compatible = "hisilicon,hi3660-usb 40 compatible = "hisilicon,hi3660-usb-phy"; 41 #phy-cells = <0>; 41 #phy-cells = <0>; 42 hisilicon,pericrg-syscon = <&crg_c 42 hisilicon,pericrg-syscon = <&crg_ctrl>; 43 hisilicon,pctrl-syscon = <&pctrl>; 43 hisilicon,pctrl-syscon = <&pctrl>; 44 hisilicon,eye-diagram-param = <0x2 44 hisilicon,eye-diagram-param = <0x22466e4>; 45 }; 45 }; 46 }; 46 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.