xref: /linux/Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml (revision 1ac731c529cd4d6adbce134754b51ff7d822b145)
18c5b0944SMaxime Ripard# SPDX-License-Identifier: GPL-2.0
28c5b0944SMaxime Ripard%YAML 1.2
38c5b0944SMaxime Ripard---
48c5b0944SMaxime Ripard$id: http://devicetree.org/schemas/net/allwinner,sun4i-a10-emac.yaml#
58c5b0944SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml#
68c5b0944SMaxime Ripard
7dd3cb467SAndrew Lunntitle: Allwinner A10 EMAC Ethernet Controller
88c5b0944SMaxime Ripard
98c5b0944SMaxime RipardallOf:
10*3079bfdbSRob Herring  - $ref: ethernet-controller.yaml#
118c5b0944SMaxime Ripard
128c5b0944SMaxime Ripardmaintainers:
138c5b0944SMaxime Ripard  - Chen-Yu Tsai <wens@csie.org>
145c7404bbSMaxime Ripard  - Maxime Ripard <mripard@kernel.org>
158c5b0944SMaxime Ripard
168c5b0944SMaxime Ripardproperties:
178c5b0944SMaxime Ripard  compatible:
188c5b0944SMaxime Ripard    const: allwinner,sun4i-a10-emac
198c5b0944SMaxime Ripard
208c5b0944SMaxime Ripard  reg:
218c5b0944SMaxime Ripard    maxItems: 1
228c5b0944SMaxime Ripard
238c5b0944SMaxime Ripard  interrupts:
248c5b0944SMaxime Ripard    maxItems: 1
258c5b0944SMaxime Ripard
268c5b0944SMaxime Ripard  clocks:
278c5b0944SMaxime Ripard    maxItems: 1
288c5b0944SMaxime Ripard
298c5b0944SMaxime Ripard  allwinner,sram:
308c5b0944SMaxime Ripard    description: Phandle to the device SRAM
318c5b0944SMaxime Ripard    $ref: /schemas/types.yaml#/definitions/phandle-array
3239bd2b6aSRob Herring    items:
3339bd2b6aSRob Herring      - items:
3439bd2b6aSRob Herring          - description: phandle to SRAM
3539bd2b6aSRob Herring          - description: register value for device
368c5b0944SMaxime Ripard
378c5b0944SMaxime Ripardrequired:
388c5b0944SMaxime Ripard  - compatible
398c5b0944SMaxime Ripard  - reg
408c5b0944SMaxime Ripard  - interrupts
418c5b0944SMaxime Ripard  - clocks
428c5b0944SMaxime Ripard  - phy-handle
438c5b0944SMaxime Ripard  - allwinner,sram
448c5b0944SMaxime Ripard
45454f5d9dSMaxime RipardunevaluatedProperties: false
46454f5d9dSMaxime Ripard
478c5b0944SMaxime Ripardexamples:
488c5b0944SMaxime Ripard  - |
498c5b0944SMaxime Ripard    emac: ethernet@1c0b000 {
508c5b0944SMaxime Ripard        compatible = "allwinner,sun4i-a10-emac";
518c5b0944SMaxime Ripard        reg = <0x01c0b000 0x1000>;
528c5b0944SMaxime Ripard        interrupts = <55>;
538c5b0944SMaxime Ripard        clocks = <&ahb_gates 17>;
548c5b0944SMaxime Ripard        phy-handle = <&phy0>;
558c5b0944SMaxime Ripard        allwinner,sram = <&emac_sram 1>;
568c5b0944SMaxime Ripard    };
578c5b0944SMaxime Ripard
588c5b0944SMaxime Ripard...
59