-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathsam9x75eb_isc_imx219.dtso
155 lines (133 loc) · 2.98 KB
/
sam9x75eb_isc_imx219.dtso
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Device Tree file for SAM9X75EB board overlay blob
* for ISC with imx219 sensor. The blob uses isc and i2c10
*
* Copyright (C) 2022 Microchip Technology Inc. and its subsidiaries
* Author: Balamanikandan Gunasundar <[email protected]>
*
*/
/dts-v1/;
/plugin/;
#include <dt-bindings/pinctrl/at91.h>
#include <dt-bindings/gpio/gpio.h>
&csi_dphy {
status = "okay";
};
&{/} {
vana_imx219: fixed-regulator-vana {
compatible = "regulator-fixed";
regulator-name = "VANA-supply";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
regulator-always-on;
regulator-boot-on;
status = "okay";
};
vdig_imx219: fixed-regulator-vdig {
compatible = "regulator-fixed";
regulator-name = "VDIG-supply";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
regulator-boot-on;
vin-supply = <&vana_imx219>;
status = "okay";
};
vddl_imx219: fixed-regulator-vddl {
compatible = "regulator-fixed";
regulator-name = "VDDL-supply";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
regulator-always-on;
regulator-boot-on;
vin-supply = <&vana_imx219>;
status = "okay";
};
};
&csi2host {
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
port@1 {
reg = <1>;
csi2host_in: endpoint {
remote-endpoint = <&imx219_out>;
data-lanes = <1 2>;
bus-type = <4>;
clock-lanes = <0>;
};
};
port@2 {
reg = <2>;
csi2host_out: endpoint {
remote-endpoint = <&csi2dc_in>;
};
};
};
&csi2dc {
status = "okay";
ports {
port@0 {
csi2dc_in: endpoint {
remote-endpoint = <&csi2host_out>;
bus-type = <4>; /* MIPI CSI2 D-PHY */
};
};
};
};
&dsi {
status = "disabled";
};
&i2c10 {
/*
* Camera sensor add-on board Raspberry Pi v2.1 Camera extension
*
* Sensor i2c address is fixed at 0x10
*
* 24 Mhz crystal is soldered on the board and hardwired to sensor
*
* Power supplies are present on the board and supplied by 3v3
* rail from sam9x75eb PMIC
*/
#address-cells = <1>;
#size-cells = <0>;
imx219: camera@10 {
compatible = "sony,imx219";
reg = <0x10>;
clocks = <&imx219_clk>;
clock-names = "xclk";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_sensor_reset>;
VANA-supply = <&vana_imx219>; /* 2.8v */
VDIG-supply = <&vdig_imx219>; /* 1.8v */
VDDL-supply = <&vddl_imx219>; /* 1.2v */
reset-gpios = <&pioC 14 GPIO_ACTIVE_HIGH>;
status = "okay";
imx219_clk: camera-clk {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24000000>;
};
port {
imx219_out: endpoint {
remote-endpoint = <&csi2host_in>;
clock-lanes = <0>;
data-lanes = <1 2>;
link-frequencies = /bits/ 64 <456000000>;
clock-noncontinuous;
};
};
};
};
&pinctrl {
csi {
pinctrl_sensor_reset: sensor_reset {
atmel,pins = <AT91_PIOC 14 AT91_PERIPH_GPIO AT91_PINCTRL_NONE>;
};
};
};
&xisc {
microchip,mipi-mode;
status = "okay";
};