File Index
Files and directories
Sign in
FILE

nxp,netc-blk-ctrl.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/net/nxp,netc-blk-ctrl.yaml YAML
  1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
  2%YAML 1.2
  3---
  4$id: http://devicetree.org/schemas/net/nxp,netc-blk-ctrl.yaml#
  5$schema: http://devicetree.org/meta-schemas/core.yaml#
  6
  7title: NETC Blocks Control
  8
  9description:
 10  Usually, NETC has 2 blocks of 64KB registers, integrated endpoint register
 11  block (IERB) and privileged register block (PRB). IERB is used for pre-boot
 12  initialization for all NETC devices, such as ENETC, Timer, EMIDO and so on.
 13  And PRB controls global reset and global error handling for NETC. Moreover,
 14  for the i.MX platform, there is also a NETCMIX block for link configuration,
 15  such as MII protocol, PCS protocol, etc.
 16
 17maintainers:
 18  - Wei Fang <wei.fang@nxp.com>
 19  - Clark Wang <xiaoning.wang@nxp.com>
 20
 21properties:
 22  compatible:
 23    enum:
 24      - nxp,imx94-netc-blk-ctrl
 25      - nxp,imx95-netc-blk-ctrl
 26
 27  reg:
 28    maxItems: 3
 29
 30  reg-names:
 31    items:
 32      - const: ierb
 33      - const: prb
 34      - const: netcmix
 35
 36  "#address-cells":
 37    const: 2
 38
 39  "#size-cells":
 40    const: 2
 41
 42  ranges: true
 43
 44  clocks:
 45    maxItems: 1
 46
 47  clock-names:
 48    items:
 49      - const: ipg
 50
 51  power-domains:
 52    maxItems: 1
 53
 54patternProperties:
 55  "^pcie@[0-9a-f]+$":
 56    $ref: /schemas/pci/host-generic-pci.yaml#
 57
 58required:
 59  - compatible
 60  - reg
 61  - reg-names
 62  - "#address-cells"
 63  - "#size-cells"
 64  - ranges
 65
 66additionalProperties: false
 67
 68examples:
 69  - |
 70    bus {
 71        #address-cells = <2>;
 72        #size-cells = <2>;
 73
 74        system-controller@4cde0000 {
 75            compatible = "nxp,imx95-netc-blk-ctrl";
 76            reg = <0x0 0x4cde0000 0x0 0x10000>,
 77                  <0x0 0x4cdf0000 0x0 0x10000>,
 78                  <0x0 0x4c81000c 0x0 0x18>;
 79            reg-names = "ierb", "prb", "netcmix";
 80            #address-cells = <2>;
 81            #size-cells = <2>;
 82            ranges;
 83            clocks = <&scmi_clk 98>;
 84            clock-names = "ipg";
 85            power-domains = <&scmi_devpd 18>;
 86
 87            pcie@4cb00000 {
 88                compatible = "pci-host-ecam-generic";
 89                reg = <0x0 0x4cb00000 0x0 0x100000>;
 90                #address-cells = <3>;
 91                #size-cells = <2>;
 92                device_type = "pci";
 93                bus-range = <0x1 0x1>;
 94                ranges = <0x82000000 0x0 0x4cce0000  0x0 0x4cce0000  0x0 0x20000
 95                          0xc2000000 0x0 0x4cd10000  0x0 0x4cd10000  0x0 0x10000>;
 96
 97                mdio@0,0 {
 98                    compatible = "pci1131,ee00";
 99                    reg = <0x010000 0 0 0 0>;
100                    #address-cells = <1>;
101                    #size-cells = <0>;
102                };
103            };
104        };
105    };
~/ Read-only file preview.