~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/nvmem/sunplus,sp7021-ocotp.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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 ...

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php