brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · af97eeb Raw
80 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2# Copyright (C) Sunplus Co., Ltd. 20213%YAML 1.24---5$id: http://devicetree.org/schemas/nvmem/sunplus,sp7021-ocotp.yaml#6$schema: http://devicetree.org/meta-schemas/core.yaml#7 8title: On-Chip OTP Memory for Sunplus SP70219 10maintainers:11  - Vincent Shih <vincent.sunplus@gmail.com>12 13allOf:14  - $ref: nvmem.yaml#15  - $ref: nvmem-deprecated-cells.yaml#16 17properties:18  compatible:19    const: sunplus,sp7021-ocotp20 21  reg:22    maxItems: 223 24  reg-names:25    items:26      - const: hb_gpio27      - const: otprx28 29  clocks:30    maxItems: 131 32  thermal-calibration:33    type: object34    description: thermal calibration values35 36  disconnect-voltage:37    type: object38    description: disconnect voltages of usb2 port 0 and port 139 40  mac-address0:41    type: object42    description: MAC address of ethernet port 043 44  mac-address1:45    type: object46    description: MAC address of ethernet port 147 48required:49  - compatible50  - reg51  - reg-names52  - clocks53 54unevaluatedProperties: false55 56examples: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...80