forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/arch/arm/boot/dts/at91-cosino_mega2560.dts
....@@ -1,3 +1,4 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * at91-cosino_mega2560.dts - Device Tree file for Cosino board with
34 * Mega 2560 extension
....@@ -8,8 +9,6 @@
89 * Derived from at91sam9g35ek.dts by:
910 * Copyright (C) 2012 Atmel,
1011 * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
11
- *
12
- * Licensed under GPLv2 or later.
1312 */
1413
1514 /dts-v1/;
....@@ -18,61 +17,59 @@
1817 / {
1918 model = "HCE Cosino Mega 2560";
2019 compatible = "hce,cosino_mega2560", "atmel,at91sam9x5", "atmel,at91sam9";
20
+};
2121
22
- ahb {
23
- apb {
24
- macb0: ethernet@f802c000 {
25
- phy-mode = "rmii";
26
- status = "okay";
27
- };
22
+&adc0 {
23
+ atmel,adc-ts-wires = <4>;
24
+ atmel,adc-ts-pressure-threshold = <10000>;
25
+ status = "okay";
26
+};
2827
29
- adc0: adc@f804c000 {
30
- atmel,adc-ts-wires = <4>;
31
- atmel,adc-ts-pressure-threshold = <10000>;
32
- status = "okay";
33
- };
28
+&macb0 {
29
+ phy-mode = "rmii";
30
+ status = "okay";
31
+};
3432
35
- rtc@fffffeb0 {
36
- status = "okay";
37
- };
33
+&mmc1 {
34
+ pinctrl-0 = <
35
+ &pinctrl_mmc1_slot0_clk_cmd_dat0
36
+ &pinctrl_mmc1_slot0_dat1_3>;
37
+ pinctrl-names = "default";
38
+ status = "okay";
3839
39
- usart1: serial@f8020000 {
40
- status = "okay";
41
- };
42
-
43
- usart2: serial@f8024000 {
44
- status = "okay";
45
- };
46
-
47
- usb2: gadget@f803c000 {
48
- atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
49
- status = "okay";
50
- };
51
-
52
- mmc1: mmc@f000c000 {
53
- pinctrl-0 = <
54
- &pinctrl_mmc1_slot0_clk_cmd_dat0
55
- &pinctrl_mmc1_slot0_dat1_3>;
56
- status = "okay";
57
- slot@0 {
58
- reg = <0>;
59
- bus-width = <4>;
60
- non-removable;
61
- };
62
- };
63
- };
64
-
65
- usb0: ohci@600000 {
66
- status = "okay";
67
- num-ports = <3>;
68
- atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW */
69
- &pioD 19 GPIO_ACTIVE_LOW
70
- &pioD 20 GPIO_ACTIVE_LOW
71
- >;
72
- };
73
-
74
- usb1: ehci@700000 {
75
- status = "okay";
76
- };
40
+ slot@0 {
41
+ reg = <0>;
42
+ bus-width = <4>;
43
+ non-removable;
7744 };
7845 };
46
+
47
+&rtc {
48
+ status = "okay";
49
+};
50
+
51
+&usart1 {
52
+ status = "okay";
53
+};
54
+
55
+&usart2 {
56
+ status = "okay";
57
+};
58
+
59
+&usb0 {
60
+ num-ports = <3>;
61
+ atmel,vbus-gpio = <0 /* &pioD 18 GPIO_ACTIVE_LOW */
62
+ &pioD 19 GPIO_ACTIVE_LOW
63
+ &pioD 20 GPIO_ACTIVE_LOW
64
+ >;
65
+ status = "okay";
66
+};
67
+
68
+&usb1 {
69
+ status = "okay";
70
+};
71
+
72
+&usb2 {
73
+ atmel,vbus-gpio = <&pioB 16 GPIO_ACTIVE_HIGH>;
74
+ status = "okay";
75
+};