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