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/clock/renes 4 $id: http://devicetree.org/schemas/clock/renesas,9series.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Renesas 9-series I2C PCIe clock generat 7 title: Renesas 9-series I2C PCIe clock generators 8 8 9 description: | 9 description: | 10 The Renesas 9-series are I2C PCIe clock gene 10 The Renesas 9-series are I2C PCIe clock generators providing 11 from 1 to 20 output clocks. 11 from 1 to 20 output clocks. 12 12 13 When referencing the provided clock in the D 13 When referencing the provided clock in the DT using phandle 14 and clock specifier, the following mapping a 14 and clock specifier, the following mapping applies: 15 15 16 - 9FGV0241: 16 - 9FGV0241: 17 0 -- DIF0 17 0 -- DIF0 18 1 -- DIF1 18 1 -- DIF1 19 - 9FGV0441: << 20 0 -- DIF0 << 21 1 -- DIF1 << 22 2 -- DIF2 << 23 3 -- DIF3 << 24 - 9FGV0841: << 25 0 -- DIF0 << 26 1 -- DIF1 << 27 2 -- DIF2 << 28 3 -- DIF3 << 29 4 -- DIF4 << 30 5 -- DIF5 << 31 6 -- DIF6 << 32 7 -- DIF7 << 33 19 34 maintainers: 20 maintainers: 35 - Marek Vasut <marex@denx.de> 21 - Marek Vasut <marex@denx.de> 36 22 37 properties: 23 properties: 38 compatible: 24 compatible: 39 enum: 25 enum: 40 - renesas,9fgv0241 26 - renesas,9fgv0241 41 - renesas,9fgv0441 << 42 - renesas,9fgv0841 << 43 27 44 reg: 28 reg: 45 description: I2C device address 29 description: I2C device address 46 enum: [ 0x68, 0x6a ] 30 enum: [ 0x68, 0x6a ] 47 31 48 '#clock-cells': 32 '#clock-cells': 49 const: 1 33 const: 1 50 34 51 clocks: 35 clocks: 52 items: 36 items: 53 - description: XTal input clock 37 - description: XTal input clock 54 38 55 renesas,out-amplitude-microvolt: 39 renesas,out-amplitude-microvolt: 56 enum: [ 600000, 700000, 800000, 900000 ] 40 enum: [ 600000, 700000, 800000, 900000 ] 57 description: Output clock signal amplitude 41 description: Output clock signal amplitude 58 42 59 renesas,out-spread-spectrum: 43 renesas,out-spread-spectrum: 60 $ref: /schemas/types.yaml#/definitions/uin 44 $ref: /schemas/types.yaml#/definitions/uint32 61 enum: [ 100000, 99750, 99500 ] 45 enum: [ 100000, 99750, 99500 ] 62 description: Output clock down spread in p 46 description: Output clock down spread in pcm (1/1000 of percent) 63 47 64 patternProperties: 48 patternProperties: 65 "^DIF[0-19]$": 49 "^DIF[0-19]$": 66 type: object 50 type: object 67 description: 51 description: 68 Description of one of the outputs (DIF0. 52 Description of one of the outputs (DIF0..DIF19). 69 53 70 properties: 54 properties: 71 renesas,slew-rate: 55 renesas,slew-rate: 72 $ref: /schemas/types.yaml#/definitions 56 $ref: /schemas/types.yaml#/definitions/uint32 73 enum: [ 2000000, 3000000 ] 57 enum: [ 2000000, 3000000 ] 74 description: Output clock slew rate se 58 description: Output clock slew rate select in V/ns 75 59 76 additionalProperties: false 60 additionalProperties: false 77 61 78 required: 62 required: 79 - compatible 63 - compatible 80 - reg 64 - reg 81 - clocks 65 - clocks 82 - '#clock-cells' 66 - '#clock-cells' 83 67 84 additionalProperties: false 68 additionalProperties: false 85 69 86 examples: 70 examples: 87 - | 71 - | 88 /* 25MHz reference crystal */ 72 /* 25MHz reference crystal */ 89 ref25: ref25m { 73 ref25: ref25m { 90 compatible = "fixed-clock"; 74 compatible = "fixed-clock"; 91 #clock-cells = <0>; 75 #clock-cells = <0>; 92 clock-frequency = <25000000>; 76 clock-frequency = <25000000>; 93 }; 77 }; 94 78 95 i2c@0 { 79 i2c@0 { 96 reg = <0x0 0x100>; 80 reg = <0x0 0x100>; 97 #address-cells = <1>; 81 #address-cells = <1>; 98 #size-cells = <0>; 82 #size-cells = <0>; 99 83 100 rs9: clock-generator@6a { 84 rs9: clock-generator@6a { 101 compatible = "renesas,9fgv0241"; 85 compatible = "renesas,9fgv0241"; 102 reg = <0x6a>; 86 reg = <0x6a>; 103 #clock-cells = <1>; 87 #clock-cells = <1>; 104 88 105 clocks = <&ref25m>; 89 clocks = <&ref25m>; 106 90 107 DIF0 { 91 DIF0 { 108 renesas,slew-rate = <3000000>; 92 renesas,slew-rate = <3000000>; 109 }; 93 }; 110 }; 94 }; 111 }; 95 }; 112 96 113 ... 97 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.