Skip to content

Commit

Permalink
fix: add missing #address-cells and #size-cells properties
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeChenL committed Jun 28, 2024
1 parent 3dd8baf commit 59dc2d1
Show file tree
Hide file tree
Showing 30 changed files with 100 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,16 @@ INT = GPIOAO_3";

&i2c3 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-0 = <&i2c3_sck_a_pins &i2c3_sda_a_pins>;
pinctrl-names = "default";

ds3231: ds3231@68 {
compatible = "maxim,ds3231";
reg = <0x68>;
#address-cells = <1>;
#size-cells = <0>;
#clock-cells = <1>;
interrupt-parent = <&gpio_intc>;
interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,14 @@

&dsi0 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
dsi0_panel: panel@0 {
status = "okay";
compatible = "simple-panel-dsi";
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
backlight = <&lcd0_backlight>;

power-supply = <&vcc_mipi_lcd0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,15 @@

&dsi1 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

dsi1_panel: panel@0 {
status = "okay";
compatible = "simple-panel-dsi";
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
backlight = <&dsi1_backlight>;

power-supply = <&vcc_lcd_mipi1>;
Expand Down Expand Up @@ -405,11 +409,15 @@
&i2c2 {
status = "okay";
pinctrl-0 = <&i2c2m1_xfer>;
#address-cells = <1>;
#size-cells = <0>;

focaltech: focaltech@38 {
status = "okay";
compatible = "focaltech,fts";
reg = <0x38>;
#address-cells = <1>;
#size-cells = <0>;
power-supply = <&vcc_lcd_tp>;
pinctrl-names = "default";
pinctrl-0 = <&touch_gpio>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ HDMI will be disabled.";
force-hpd;

ports {
#address-cells = <1>;
#size-cells = <0>;
edp_out: port@1 {
reg = <1>;
#address-cells = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@
status = "okay";

ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@

&csi2_dphy0 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
ports {
#address-cells = <1>;
#size-cells = <0>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@

&i2c6 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam1_25m>;
pwdn-gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam0_25m>;
pwdn-gpios = <&gpio1 RK_PA7 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@

&i2c6 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam1_25m>;
pwdn-gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,14 @@
&i2c4 {
status = "okay";
pinctrl-0 = <&i2c4m2_xfer>;
#address-cells = <1>;
#size-cells = <0>;

camera0_imx219: camera0-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;

clocks = <&clk_cam0_24m>;
clock-names = "xvclk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@

&i2c6 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

camera1_imx219: camera1-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;

clocks = <&clk_cam1_24m>;
clock-names = "xvclk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ MOSI=16 MISO=18 SCK=36 CS=38 INT=40";
};

&pinctrl {
#address-cells = <1>;
#size-cells = <0>;
enc28j60 {
enc28j60_int_pins: enc28j60-int-pins {
rockchip,pins = <4 RK_PA7 RK_FUNC_GPIO &pcfg_pull_up>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ INT=40";

&spi2 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&spi2_clk &spi2_cs0 &spi2_rx &spi2_tx>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ This overlay is NOT compatiable with regular ROCK 4C.";

&spi5 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&spi5_clk &spi5_tx &spi5_rx &spi5_cs0>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

&i2c2 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&i2c2m0_xfer>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,8 @@
status = "okay";

ports {
#address-cells = <1>;
#size-cells = <0>;
edp_out: port@1 {
reg = <1>;
#address-cells = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ This will disable DP0.";
status = "okay";

ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
#address-cells = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ This will disable DP1.";
status = "okay";

ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
#address-cells = <1>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@

&i2c3 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam_25m>;
pwdn-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@

&i2c3 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam_25m>;
pwdn-gpios = <&gpio1 RK_PD3 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@

&i2c3 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

camera_imx219: camera-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;

#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam_24m>;
clock-names = "xvclk";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam_25m>;
pwdn-gpios = <&gpio1 RK_PB0 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,13 @@

&i2c2 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
camera0_imx219: camera0-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;

clocks = <&clk_cam0_24m>;
clock-names = "xvclk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,14 @@
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&i2c6m0_xfer>;
#address-cells = <1>;
#size-cells = <0>;

camera0_imx219: camera0-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;

clocks = <&clk_cam0_24m>;
clock-names = "xvclk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@

&i2c2 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

camera0_imx219: camera0-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;

clocks = <&clk_cam0_24m>;
clock-names = "xvclk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,16 @@

&i2c6 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&i2c6m0_xfer>;

camera0_imx219: camera0-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;

clocks = <&clk_cam0_24m>;
clock-names = "xvclk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,15 @@

&i2c2 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam0_25m>;
pwdn-gpios = <&gpio4 RK_PA3 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,17 @@

&i2c6 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&i2c6m0_xfer>;

ov5647: ov5647@36 {
status = "okay";
compatible = "ovti,ov5647";
reg = <0x36>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&clk_cam1_25m>;
pwdn-gpios = <&gpio0 RK_PC5 GPIO_ACTIVE_LOW>;
clock-names = "ext_cam_clk";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,14 @@

&i2c2 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

camera0_imx219: camera0-imx219@10 {
compatible = "sony,imx219";
reg = <0x10>;
#address-cells = <1>;
#size-cells = <0>;

clocks = <&clk_cam0_24m>;
clock-names = "xvclk";
Expand Down
Loading

0 comments on commit 59dc2d1

Please sign in to comment.