xref: /linux/Documentation/devicetree/bindings/net/allwinner,sun4i-a10-emac.yaml (revision 5c7404bb30bc5877e578336c58998a999c410622)
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
78c5b0944SMaxime Ripardtitle: Allwinner A10 EMAC Ethernet Controller Device Tree Bindings
88c5b0944SMaxime Ripard
98c5b0944SMaxime RipardallOf:
108c5b0944SMaxime Ripard  - $ref: "ethernet-controller.yaml#"
118c5b0944SMaxime Ripard
128c5b0944SMaxime Ripardmaintainers:
138c5b0944SMaxime Ripard  - Chen-Yu Tsai <wens@csie.org>
14*5c7404bbSMaxime 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
328c5b0944SMaxime Ripard
338c5b0944SMaxime Ripardrequired:
348c5b0944SMaxime Ripard  - compatible
358c5b0944SMaxime Ripard  - reg
368c5b0944SMaxime Ripard  - interrupts
378c5b0944SMaxime Ripard  - clocks
388c5b0944SMaxime Ripard  - phy-handle
398c5b0944SMaxime Ripard  - allwinner,sram
408c5b0944SMaxime Ripard
41454f5d9dSMaxime RipardunevaluatedProperties: false
42454f5d9dSMaxime Ripard
438c5b0944SMaxime Ripardexamples:
448c5b0944SMaxime Ripard  - |
458c5b0944SMaxime Ripard    emac: ethernet@1c0b000 {
468c5b0944SMaxime Ripard        compatible = "allwinner,sun4i-a10-emac";
478c5b0944SMaxime Ripard        reg = <0x01c0b000 0x1000>;
488c5b0944SMaxime Ripard        interrupts = <55>;
498c5b0944SMaxime Ripard        clocks = <&ahb_gates 17>;
508c5b0944SMaxime Ripard        phy-handle = <&phy0>;
518c5b0944SMaxime Ripard        allwinner,sram = <&emac_sram 1>;
528c5b0944SMaxime Ripard    };
538c5b0944SMaxime Ripard
548c5b0944SMaxime Ripard...
55