1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (C) Sunplus Co., Ltd. 2021 3 %YAML 1.2 4 --- 5 $id: http://devicetree.org/schemas/nvmem/sunplus,sp7021-ocotp.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 8 title: On-Chip OTP Memory for Sunplus SP7021 9 10 maintainers: 11 - Vincent Shih <vincent.sunplus@gmail.com> 12 13 allOf: 14 - $ref: nvmem.yaml# 15 - $ref: nvmem-deprecated-cells.yaml# 16 17 properties: 18 compatible: 19 const: sunplus,sp7021-ocotp 20 21 reg: 22 maxItems: 2 23 24 reg-names: 25 items: 26 - const: hb_gpio 27 - const: otprx 28 29 clocks: 30 maxItems: 1 31 32 thermal-calibration: 33 type: object 34 description: thermal calibration values 35 36 disconnect-voltage: 37 type: object 38 description: disconnect voltages of usb2 port 0 and port 1 39 40 mac-address0: 41 type: object 42 description: MAC address of ethernet port 0 43 44 mac-address1: 45 type: object 46 description: MAC address of ethernet port 1 47 48 required: 49 - compatible 50 - reg 51 - reg-names 52 - clocks 53 54 unevaluatedProperties: false 55 56 examples: 57 - | 58 otp: otp@9c00af00 { 59 compatible = "sunplus,sp7021-ocotp"; 60 reg = <0x9c00af00 0x34>, <0x9c00af80 0x58>; 61 reg-names = "hb_gpio", "otprx"; 62 clocks = <&clkc 0x15>; 63 64 #address-cells = <1>; 65 #size-cells = <1>; 66 therm_calib: thermal-calibration@14 { 67 reg = <0x14 0x3>; 68 }; 69 disc_vol: disconnect-voltage@18 { 70 reg = <0x18 0x2>; 71 }; 72 mac_addr0: mac-address0@34 { 73 reg = <0x34 0x6>; 74 }; 75 mac_addr1: mac-address1@3a { 76 reg = <0x3a 0x6>; 77 }; 78 }; 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.