1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/usb/ingenic 4 $id: http://devicetree.org/schemas/usb/ingenic,musb.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Ingenic JZ47xx USB IP !! 7 title: Ingenic JZ47xx USB IP DT bindings 8 8 9 maintainers: 9 maintainers: 10 - Paul Cercueil <paul@crapouillou.net> 10 - Paul Cercueil <paul@crapouillou.net> 11 11 12 properties: 12 properties: 13 $nodename: 13 $nodename: 14 pattern: '^usb@.*' 14 pattern: '^usb@.*' 15 15 16 compatible: 16 compatible: 17 oneOf: 17 oneOf: 18 - enum: 18 - enum: 19 - ingenic,jz4770-musb 19 - ingenic,jz4770-musb 20 - ingenic,jz4740-musb 20 - ingenic,jz4740-musb 21 - items: 21 - items: 22 - const: ingenic,jz4725b-musb 22 - const: ingenic,jz4725b-musb 23 - const: ingenic,jz4740-musb 23 - const: ingenic,jz4740-musb 24 24 25 reg: 25 reg: 26 maxItems: 1 26 maxItems: 1 27 27 28 clocks: 28 clocks: 29 maxItems: 1 29 maxItems: 1 30 30 31 clock-names: 31 clock-names: 32 items: 32 items: 33 - const: udc 33 - const: udc 34 34 35 interrupts: 35 interrupts: 36 maxItems: 1 36 maxItems: 1 37 37 38 interrupt-names: 38 interrupt-names: 39 items: 39 items: 40 - const: mc 40 - const: mc 41 41 42 phys: 42 phys: 43 maxItems: 1 43 maxItems: 1 44 44 45 usb-role-switch: 45 usb-role-switch: 46 type: boolean 46 type: boolean 47 47 48 required: 48 required: 49 - compatible 49 - compatible 50 - reg 50 - reg 51 - clocks 51 - clocks 52 - clock-names 52 - clock-names 53 - interrupts 53 - interrupts 54 - interrupt-names 54 - interrupt-names 55 - phys 55 - phys 56 56 57 additionalProperties: false 57 additionalProperties: false 58 58 59 examples: 59 examples: 60 - | 60 - | 61 #include <dt-bindings/clock/ingenic,jz4740 61 #include <dt-bindings/clock/ingenic,jz4740-cgu.h> 62 usb_phy: usb-phy { 62 usb_phy: usb-phy { 63 compatible = "usb-nop-xceiv"; 63 compatible = "usb-nop-xceiv"; 64 #phy-cells = <0>; 64 #phy-cells = <0>; 65 }; 65 }; 66 66 67 udc: usb@13040000 { 67 udc: usb@13040000 { 68 compatible = "ingenic,jz4740-musb"; 68 compatible = "ingenic,jz4740-musb"; 69 reg = <0x13040000 0x10000>; 69 reg = <0x13040000 0x10000>; 70 70 71 interrupt-parent = <&intc>; 71 interrupt-parent = <&intc>; 72 interrupts = <24>; 72 interrupts = <24>; 73 interrupt-names = "mc"; 73 interrupt-names = "mc"; 74 74 75 clocks = <&cgu JZ4740_CLK_UDC>; 75 clocks = <&cgu JZ4740_CLK_UDC>; 76 clock-names = "udc"; 76 clock-names = "udc"; 77 77 78 phys = <&usb_phy>; 78 phys = <&usb_phy>; 79 }; 79 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.