Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
5b6b207c
Commit
5b6b207c
authored
Sep 15, 2022
by
Thierry Reding
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'for-6.1/dt-bindings' into for-6.1/arm64/dt
parents
568035b0
cc99f95d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
172 additions
and
0 deletions
+172
-0
Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml
...ntation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml
+162
-0
include/dt-bindings/memory/tegra234-mc.h
include/dt-bindings/memory/tegra234-mc.h
+10
-0
No files found.
Documentation/devicetree/bindings/net/nvidia,tegra234-mgbe.yaml
0 → 100644
View file @
5b6b207c
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML
1.2
---
$id
:
http://devicetree.org/schemas/net/nvidia,tegra234-mgbe.yaml#
$schema
:
http://devicetree.org/meta-schemas/core.yaml#
title
:
Tegra234 MGBE Multi-Gigabit Ethernet Controller
maintainers
:
-
Thierry Reding <treding@nvidia.com>
-
Jon Hunter <jonathanh@nvidia.com>
properties
:
compatible
:
const
:
nvidia,tegra234-mgbe
reg
:
maxItems
:
3
reg-names
:
items
:
-
const
:
hypervisor
-
const
:
mac
-
const
:
xpcs
interrupts
:
minItems
:
1
maxItems
:
3
interrupt-names
:
minItems
:
1
items
:
-
const
:
common
-
const
:
macsec-ns
-
const
:
macsec
clocks
:
maxItems
:
12
clock-names
:
items
:
-
const
:
mgbe
-
const
:
mac
-
const
:
mac-divider
-
const
:
ptp-ref
-
const
:
rx-input-m
-
const
:
rx-input
-
const
:
tx
-
const
:
eee-pcs
-
const
:
rx-pcs-input
-
const
:
rx-pcs-m
-
const
:
rx-pcs
-
const
:
tx-pcs
resets
:
maxItems
:
2
reset-names
:
items
:
-
const
:
mac
-
const
:
pcs
interconnects
:
items
:
-
description
:
memory read client
-
description
:
memory write client
interconnect-names
:
items
:
-
const
:
dma-mem
-
const
:
write
iommus
:
maxItems
:
1
power-domains
:
maxItems
:
1
phy-handle
:
true
phy-mode
:
contains
:
enum
:
-
usxgmii
-
10gbase-kr
mdio
:
$ref
:
mdio.yaml#
unevaluatedProperties
:
false
description
:
Optional node for embedded MDIO controller.
required
:
-
compatible
-
reg
-
interrupts
-
interrupt-names
-
clocks
-
clock-names
-
resets
-
reset-names
-
power-domains
-
phy-handle
-
phy-mode
additionalProperties
:
false
examples
:
-
|
#include <dt-bindings/clock/tegra234-clock.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/memory/tegra234-mc.h>
#include <dt-bindings/power/tegra234-powergate.h>
#include <dt-bindings/reset/tegra234-reset.h>
ethernet@6800000 {
compatible = "nvidia,tegra234-mgbe";
reg = <0x06800000 0x10000>,
<0x06810000 0x10000>,
<0x068a0000 0x10000>;
reg-names = "hypervisor", "mac", "xpcs";
interrupts = <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>;
interrupt-names = "common";
clocks = <&bpmp TEGRA234_CLK_MGBE0_APP>,
<&bpmp TEGRA234_CLK_MGBE0_MAC>,
<&bpmp TEGRA234_CLK_MGBE0_MAC_DIVIDER>,
<&bpmp TEGRA234_CLK_MGBE0_PTP_REF>,
<&bpmp TEGRA234_CLK_MGBE0_RX_INPUT_M>,
<&bpmp TEGRA234_CLK_MGBE0_RX_INPUT>,
<&bpmp TEGRA234_CLK_MGBE0_TX>,
<&bpmp TEGRA234_CLK_MGBE0_EEE_PCS>,
<&bpmp TEGRA234_CLK_MGBE0_RX_PCS_INPUT>,
<&bpmp TEGRA234_CLK_MGBE0_RX_PCS_M>,
<&bpmp TEGRA234_CLK_MGBE0_RX_PCS>,
<&bpmp TEGRA234_CLK_MGBE0_TX_PCS>;
clock-names = "mgbe", "mac", "mac-divider", "ptp-ref", "rx-input-m",
"rx-input", "tx", "eee-pcs", "rx-pcs-input", "rx-pcs-m",
"rx-pcs", "tx-pcs";
resets = <&bpmp TEGRA234_RESET_MGBE0_MAC>,
<&bpmp TEGRA234_RESET_MGBE0_PCS>;
reset-names = "mac", "pcs";
interconnects = <&mc TEGRA234_MEMORY_CLIENT_MGBEARD &emc>,
<&mc TEGRA234_MEMORY_CLIENT_MGBEAWR &emc>;
interconnect-names = "dma-mem", "write";
iommus = <&smmu_niso0 TEGRA234_SID_MGBE>;
power-domains = <&bpmp TEGRA234_POWER_DOMAIN_MGBEA>;
phy-handle = <&mgbe0_phy>;
phy-mode = "usxgmii";
mdio {
#address-cells = <1>;
#size-cells = <0>;
mgbe0_phy: phy@0 {
compatible = "ethernet-phy-ieee802.3-c45";
reg = <0x0>;
#phy-cells = <0>;
};
};
};
include/dt-bindings/memory/tegra234-mc.h
View file @
5b6b207c
...
...
@@ -34,6 +34,16 @@
#define TEGRA234_SID_HOST1X 0x27
#define TEGRA234_SID_VIC 0x34
/* Shared stream IDs */
#define TEGRA234_SID_HOST1X_CTX0 0x35
#define TEGRA234_SID_HOST1X_CTX1 0x36
#define TEGRA234_SID_HOST1X_CTX2 0x37
#define TEGRA234_SID_HOST1X_CTX3 0x38
#define TEGRA234_SID_HOST1X_CTX4 0x39
#define TEGRA234_SID_HOST1X_CTX5 0x3a
#define TEGRA234_SID_HOST1X_CTX6 0x3b
#define TEGRA234_SID_HOST1X_CTX7 0x3c
/*
* memory client IDs
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment