forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/arch/arm/boot/dts/at91sam9g25ek.dts
....@@ -1,10 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * at91sam9g25ek.dts - Device Tree file for AT91SAM9G25-EK board
34 *
45 * Copyright (C) 2012 Atmel,
56 * 2012 Nicolas Ferre <nicolas.ferre@atmel.com>
6
- *
7
- * Licensed under GPLv2 or later.
87 */
98 /dts-v1/;
109 #include "at91sam9g25.dtsi"
....@@ -13,57 +12,54 @@
1312 / {
1413 model = "Atmel AT91SAM9G25-EK";
1514 compatible = "atmel,at91sam9g25ek", "atmel,at91sam9x5ek", "atmel,at91sam9x5", "atmel,at91sam9";
15
+};
1616
17
- ahb {
18
- apb {
19
- spi0: spi@f0000000 {
20
- status = "disabled";
21
- };
17
+&i2c0 {
18
+ camera@30 {
19
+ compatible = "ovti,ov2640";
20
+ reg = <0x30>;
21
+ pinctrl-names = "default";
22
+ pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
23
+ resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
24
+ pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>;
25
+ clocks = <&pmc PMC_TYPE_SYSTEM 8>;
26
+ clock-names = "xvclk";
27
+ assigned-clocks = <&pmc PMC_TYPE_SYSTEM 8>;
28
+ assigned-clock-rates = <25000000>;
29
+ status = "okay";
2230
23
- mmc1: mmc@f000c000 {
24
- status = "disabled";
25
- };
26
-
27
- i2c0: i2c@f8010000 {
28
- ov2640: camera@30 {
29
- compatible = "ovti,ov2640";
30
- reg = <0x30>;
31
- pinctrl-names = "default";
32
- pinctrl-0 = <&pinctrl_pck0_as_isi_mck &pinctrl_sensor_power &pinctrl_sensor_reset>;
33
- resetb-gpios = <&pioA 7 GPIO_ACTIVE_LOW>;
34
- pwdn-gpios = <&pioA 13 GPIO_ACTIVE_HIGH>;
35
- clocks = <&pck0>;
36
- clock-names = "xvclk";
37
- assigned-clocks = <&pck0>;
38
- assigned-clock-rates = <25000000>;
39
- status = "okay";
40
-
41
- port {
42
- ov2640_0: endpoint {
43
- remote-endpoint = <&isi_0>;
44
- bus-width = <8>;
45
- };
46
- };
47
- };
48
- };
49
-
50
- macb0: ethernet@f802c000 {
51
- phy-mode = "rmii";
52
- status = "okay";
53
- };
54
-
55
- isi: isi@f8048000 {
56
- status = "okay";
57
- port {
58
- isi_0: endpoint@0 {
59
- reg = <0>;
60
- remote-endpoint = <&ov2640_0>;
61
- bus-width = <8>;
62
- vsync-active = <1>;
63
- hsync-active = <1>;
64
- };
65
- };
31
+ port {
32
+ ov2640_0: endpoint {
33
+ remote-endpoint = <&isi_0>;
34
+ bus-width = <8>;
6635 };
6736 };
6837 };
6938 };
39
+
40
+&isi {
41
+ status = "okay";
42
+
43
+ port {
44
+ isi_0: endpoint@0 {
45
+ reg = <0>;
46
+ remote-endpoint = <&ov2640_0>;
47
+ bus-width = <8>;
48
+ vsync-active = <1>;
49
+ hsync-active = <1>;
50
+ };
51
+ };
52
+};
53
+
54
+&macb0 {
55
+ phy-mode = "rmii";
56
+ status = "okay";
57
+};
58
+
59
+&mmc1 {
60
+ status = "disabled";
61
+};
62
+
63
+&spi0 {
64
+ status = "disabled";
65
+};