WIP: device tree MVP

This commit is contained in:
Daniel Agar
2022-01-06 17:20:17 -05:00
parent 07d75d85cf
commit 1f39b42525
1395 changed files with 68755 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# Copyright (c) 2021 IP-Logix Inc.
# SPDX-License-Identifier: Apache-2.0
description: Atmel SAM Family MDIO Driver node
compatible: "atmel,sam-mdio"
include: mdio-controller.yaml
properties:
pinctrl-0:
type: phandles
required: false
description: |
PIO pin configuration for MDC, and MDIO signals.
For example the GMAC on SAME7x would be
pinctrl-0 = <&pd8a_gmac_gmdc &pd9a_gmac_gmdio>;
+27
View File
@@ -0,0 +1,27 @@
# Copyright (c) 2021 IP-Logix Inc.
# SPDX-License-Identifier: Apache-2.0
# Common fields for MDIO controllers
include: base.yaml
bus: mdio
properties:
label:
required: true
protocol:
required: false
type: string
description: |
MDIO bus framing protocol to use for communication. Most devices
support clause 22.
- clause 22: IEEE802.3 clause 22 frame format
- clause 45: IEEE802.3 clause 45 frame format
- micrel SMI: Micrel Serial Management Interface frame format
enum:
- "clause 22"
- "clause 45"
- "micrel SMI"
default: "clause 22"