1 # SPDX-License-Identifier: GPL-2.0-or-later OR 1 # SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/nvmem/rockc 4 $id: http://devicetree.org/schemas/nvmem/rockchip-efuse.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Rockchip eFuse 7 title: Rockchip eFuse 8 8 9 maintainers: 9 maintainers: 10 - Heiko Stuebner <heiko@sntech.de> 10 - Heiko Stuebner <heiko@sntech.de> 11 11 12 allOf: 12 allOf: 13 - $ref: nvmem.yaml# !! 13 - $ref: "nvmem.yaml#" 14 - $ref: nvmem-deprecated-cells.yaml# << 15 14 16 properties: 15 properties: 17 compatible: 16 compatible: 18 enum: 17 enum: 19 - rockchip,rk3066a-efuse 18 - rockchip,rk3066a-efuse 20 - rockchip,rk3188-efuse 19 - rockchip,rk3188-efuse 21 - rockchip,rk3228-efuse 20 - rockchip,rk3228-efuse 22 - rockchip,rk3288-efuse 21 - rockchip,rk3288-efuse 23 - rockchip,rk3328-efuse 22 - rockchip,rk3328-efuse 24 - rockchip,rk3368-efuse 23 - rockchip,rk3368-efuse 25 - rockchip,rk3399-efuse 24 - rockchip,rk3399-efuse 26 25 27 # Deprecated: old compatible value for r 26 # Deprecated: old compatible value for rk3066a, rk3188 and rk3288 28 - rockchip,rockchip-efuse 27 - rockchip,rockchip-efuse 29 28 30 reg: 29 reg: 31 description: 30 description: 32 Registers location and eFuse size. 31 Registers location and eFuse size. 33 maxItems: 1 32 maxItems: 1 34 33 35 clocks: 34 clocks: 36 description: 35 description: 37 eFuse clock id. 36 eFuse clock id. 38 maxItems: 1 37 maxItems: 1 39 38 40 clock-names: 39 clock-names: 41 const: pclk_efuse 40 const: pclk_efuse 42 41 43 rockchip,efuse-size: 42 rockchip,efuse-size: 44 description: 43 description: 45 eFuse size in bytes. The eFuse size in p 44 eFuse size in bytes. The eFuse size in property <reg> will be invalid if 46 this property is defined. 45 this property is defined. 47 $ref: /schemas/types.yaml#/definitions/uin 46 $ref: /schemas/types.yaml#/definitions/uint32 48 47 49 required: 48 required: 50 - compatible 49 - compatible 51 - reg 50 - reg 52 - clocks 51 - clocks 53 - clock-names 52 - clock-names 54 53 55 unevaluatedProperties: false 54 unevaluatedProperties: false 56 55 57 examples: 56 examples: 58 - | 57 - | 59 #include <dt-bindings/clock/rk3288-cru.h> 58 #include <dt-bindings/clock/rk3288-cru.h> 60 efuse: efuse@ffb40000 { 59 efuse: efuse@ffb40000 { 61 compatible = "rockchip,rk3288-efus 60 compatible = "rockchip,rk3288-efuse"; 62 reg = <0xffb40000 0x20>; 61 reg = <0xffb40000 0x20>; 63 #address-cells = <1>; 62 #address-cells = <1>; 64 #size-cells = <1>; 63 #size-cells = <1>; 65 clocks = <&cru PCLK_EFUSE256>; 64 clocks = <&cru PCLK_EFUSE256>; 66 clock-names = "pclk_efuse"; 65 clock-names = "pclk_efuse"; 67 66 68 /* Data cells */ 67 /* Data cells */ 69 cpu_leakage: cpu_leakage@17 { 68 cpu_leakage: cpu_leakage@17 { 70 reg = <0x17 0x1>; 69 reg = <0x17 0x1>; 71 }; 70 }; 72 }; 71 }; 73 ... 72 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.