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

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/fsl,ucc-hdlc.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 %YAML 1.2
  3 ---
  4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,ucc-hdlc.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: High-Level Data Link Control(HDLC)
  8 
  9 description: HDLC part in Universal communication controllers (UCCs)
 10 
 11 maintainers:
 12   - Frank Li <Frank.Li@nxp.com>
 13 
 14 properties:
 15   compatible:
 16     const: fsl,ucc-hdlc
 17 
 18   reg:
 19     maxItems: 1
 20 
 21   interrupts:
 22     maxItems: 1
 23 
 24   cell-index:
 25     $ref: /schemas/types.yaml#/definitions/uint32
 26 
 27   rx-clock-name:
 28     $ref: /schemas/types.yaml#/definitions/string
 29     oneOf:
 30       - pattern: "^brg([0-9]|1[0-6])$"
 31       - pattern: "^clk([0-9]|1[0-9]|2[0-4])$"
 32 
 33   tx-clock-name:
 34     $ref: /schemas/types.yaml#/definitions/string
 35     oneOf:
 36       - pattern: "^brg([0-9]|1[0-6])$"
 37       - pattern: "^clk([0-9]|1[0-9]|2[0-4])$"
 38 
 39   fsl,tdm-interface:
 40     $ref: /schemas/types.yaml#/definitions/flag
 41     description: Specify that hdlc is based on tdm-interface
 42 
 43   fsl,rx-sync-clock:
 44     $ref: /schemas/types.yaml#/definitions/string
 45     description: rx-sync
 46     enum:
 47       - none
 48       - rsync_pin
 49       - brg9
 50       - brg10
 51       - brg11
 52       - brg13
 53       - brg14
 54       - brg15
 55 
 56   fsl,tx-sync-clock:
 57     $ref: /schemas/types.yaml#/definitions/string
 58     description: tx-sync
 59     enum:
 60       - none
 61       - tsync_pin
 62       - brg9
 63       - brg10
 64       - brg11
 65       - brg13
 66       - brg14
 67       - brg15
 68 
 69   fsl,tdm-framer-type:
 70     $ref: /schemas/types.yaml#/definitions/string
 71     description: required for tdm interface
 72     enum: [e1, t1]
 73 
 74   fsl,tdm-id:
 75     $ref: /schemas/types.yaml#/definitions/uint32
 76     description: number of TDM ID
 77 
 78   fsl,tx-timeslot-mask:
 79     $ref: /schemas/types.yaml#/definitions/uint32
 80     description:
 81       required for tdm interface.
 82       time slot mask for TDM operation. Indicates which time
 83       slots used for transmitting and receiving.
 84 
 85   fsl,rx-timeslot-mask:
 86     $ref: /schemas/types.yaml#/definitions/uint32
 87     description:
 88       required for tdm interface.
 89       time slot mask for TDM operation. Indicates which time
 90       slots used for transmitting and receiving.
 91 
 92   fsl,siram-entry-id:
 93     $ref: /schemas/types.yaml#/definitions/uint32
 94     description:
 95       required for tdm interface
 96       Must be 0,2,4...64. the number of TDM entry.
 97 
 98   fsl,tdm-internal-loopback:
 99     $ref: /schemas/types.yaml#/definitions/flag
100     description:
101       optional for tdm interface
102       Internal loopback connecting on TDM layer.
103 
104   fsl,hmask:
105     $ref: /schemas/types.yaml#/definitions/uint16
106     description: |
107       HDLC address recognition. Set to zero to disable
108       address filtering of packets:
109       fsl,hmask = /bits/ 16 <0x0000>;
110 
111 required:
112   - compatible
113   - reg
114 
115 additionalProperties: false
116 
117 examples:
118   - |
119     communication@2000 {
120         compatible = "fsl,ucc-hdlc";
121         reg = <0x2000 0x200>;
122         rx-clock-name = "clk8";
123         tx-clock-name = "clk9";
124         fsl,rx-sync-clock = "rsync_pin";
125         fsl,tx-sync-clock = "tsync_pin";
126         fsl,tx-timeslot-mask = <0xfffffffe>;
127         fsl,rx-timeslot-mask = <0xfffffffe>;
128         fsl,tdm-framer-type = "e1";
129         fsl,tdm-id = <0>;
130         fsl,siram-entry-id = <0>;
131         fsl,tdm-interface;
132     };
133 
134   - |
135     communication@2000 {
136         compatible = "fsl,ucc-hdlc";
137         reg = <0x2000 0x200>;
138         rx-clock-name = "brg1";
139         tx-clock-name = "brg1";
140     };

~ [ 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