18fb29b45SVincent Shih# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 28fb29b45SVincent Shih# Copyright (C) Sunplus Co., Ltd. 2021 38fb29b45SVincent Shih%YAML 1.2 48fb29b45SVincent Shih--- 58fb29b45SVincent Shih$id: http://devicetree.org/schemas/nvmem/sunplus,sp7021-ocotp.yaml# 68fb29b45SVincent Shih$schema: http://devicetree.org/meta-schemas/core.yaml# 78fb29b45SVincent Shih 88fb29b45SVincent Shihtitle: On-Chip OTP Memory for Sunplus SP7021 98fb29b45SVincent Shih 108fb29b45SVincent Shihmaintainers: 118fb29b45SVincent Shih - Vincent Shih <vincent.sunplus@gmail.com> 128fb29b45SVincent Shih 138fb29b45SVincent ShihallOf: 14*d14d9f0eSRob Herring - $ref: nvmem.yaml# 158fb29b45SVincent Shih 168fb29b45SVincent Shihproperties: 178fb29b45SVincent Shih compatible: 188fb29b45SVincent Shih const: sunplus,sp7021-ocotp 198fb29b45SVincent Shih 208fb29b45SVincent Shih reg: 218fb29b45SVincent Shih maxItems: 2 228fb29b45SVincent Shih 238fb29b45SVincent Shih reg-names: 248fb29b45SVincent Shih items: 258fb29b45SVincent Shih - const: hb_gpio 268fb29b45SVincent Shih - const: otprx 278fb29b45SVincent Shih 288fb29b45SVincent Shih clocks: 298fb29b45SVincent Shih maxItems: 1 308fb29b45SVincent Shih 318fb29b45SVincent Shih thermal-calibration: 328fb29b45SVincent Shih type: object 338fb29b45SVincent Shih description: thermal calibration values 348fb29b45SVincent Shih 358fb29b45SVincent Shih disconnect-voltage: 368fb29b45SVincent Shih type: object 378fb29b45SVincent Shih description: disconnect voltages of usb2 port 0 and port 1 388fb29b45SVincent Shih 398fb29b45SVincent Shih mac-address0: 408fb29b45SVincent Shih type: object 418fb29b45SVincent Shih description: MAC address of ethernet port 0 428fb29b45SVincent Shih 438fb29b45SVincent Shih mac-address1: 448fb29b45SVincent Shih type: object 458fb29b45SVincent Shih description: MAC address of ethernet port 1 468fb29b45SVincent Shih 478fb29b45SVincent Shihrequired: 488fb29b45SVincent Shih - compatible 498fb29b45SVincent Shih - reg 508fb29b45SVincent Shih - reg-names 518fb29b45SVincent Shih - clocks 528fb29b45SVincent Shih 538fb29b45SVincent ShihunevaluatedProperties: false 548fb29b45SVincent Shih 558fb29b45SVincent Shihexamples: 568fb29b45SVincent Shih - | 578fb29b45SVincent Shih otp: otp@9c00af00 { 588fb29b45SVincent Shih compatible = "sunplus,sp7021-ocotp"; 598fb29b45SVincent Shih reg = <0x9c00af00 0x34>, <0x9c00af80 0x58>; 608fb29b45SVincent Shih reg-names = "hb_gpio", "otprx"; 618fb29b45SVincent Shih clocks = <&clkc 0x15>; 628fb29b45SVincent Shih 638fb29b45SVincent Shih #address-cells = <1>; 648fb29b45SVincent Shih #size-cells = <1>; 658fb29b45SVincent Shih therm_calib: thermal-calibration@14 { 668fb29b45SVincent Shih reg = <0x14 0x3>; 67cd936301SVincent Shih }; 688fb29b45SVincent Shih disc_vol: disconnect-voltage@18 { 698fb29b45SVincent Shih reg = <0x18 0x2>; 708fb29b45SVincent Shih }; 718fb29b45SVincent Shih mac_addr0: mac-address0@34 { 728fb29b45SVincent Shih reg = <0x34 0x6>; 738fb29b45SVincent Shih }; 748fb29b45SVincent Shih mac_addr1: mac-address1@3a { 758fb29b45SVincent Shih reg = <0x3a 0x6>; 768fb29b45SVincent Shih }; 778fb29b45SVincent Shih }; 788fb29b45SVincent Shih... 798fb29b45SVincent Shih