summaryrefslogtreecommitdiff
path: root/arch/nds32/dts
diff options
context:
space:
mode:
Diffstat (limited to 'arch/nds32/dts')
-rw-r--r--arch/nds32/dts/ae3xx.dts7
-rw-r--r--arch/nds32/dts/ag101p.dts6
2 files changed, 13 insertions, 0 deletions
diff --git a/arch/nds32/dts/ae3xx.dts b/arch/nds32/dts/ae3xx.dts
index 9062760cb7..4221e4bf9a 100644
--- a/arch/nds32/dts/ae3xx.dts
+++ b/arch/nds32/dts/ae3xx.dts
@@ -7,6 +7,7 @@
aliases {
uart0 = &serial0;
+ ethernet0 = &mac0;
} ;
chosen {
@@ -55,6 +56,12 @@
clock-frequency = <30000000>;
};
+ mac0: mac@e0100000 {
+ compatible = "andestech,atmac100";
+ reg = <0xe0100000 0x1000>;
+ interrupts = <25 4>;
+ };
+
nor@0,0 {
compatible = "cfi-flash";
reg = <0x88000000 0x1000>;
diff --git a/arch/nds32/dts/ag101p.dts b/arch/nds32/dts/ag101p.dts
index 91314b5633..99cde2f8b8 100644
--- a/arch/nds32/dts/ag101p.dts
+++ b/arch/nds32/dts/ag101p.dts
@@ -7,6 +7,7 @@
aliases {
uart0 = &serial0;
+ ethernet0 = &mac0;
} ;
chosen {
@@ -54,4 +55,9 @@
clock-frequency = <15000000>;
};
+ mac0: mac@90900000 {
+ compatible = "andestech,atmac100";
+ reg = <0x90900000 0x1000>;
+ interrupts = <25 4>;
+ };
};