Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit cd707a6

Browse files
Tapani-richard-hu
authored andcommitted
pico-imx7: enable pcie in dts
1 parent 6a048ac commit cd707a6

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

arch/arm/boot/dts/imx7d-pico.dtsi

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@
4545
#define reg_1p8v reg_vref_1v8
4646

4747
/ {
48+
aliases {
49+
mxcfb0 = &mxcfb1;
50+
};
51+
4852
memory {
4953
reg = <0x80000000 0x80000000>;
5054
};
@@ -170,7 +174,16 @@
170174
"fsl,imx-audio-sgtl5000";
171175
fsl,no-audmux;
172176
};
173-
};
177+
178+
mxcfb1: fb@0 {
179+
compatible = "fsl,mxc_sdc_fb";
180+
disp_dev = "lcdif";
181+
interface_pix_fmt = "RGB24";
182+
default_bpp = <32>;
183+
int_clk = <0>;
184+
late_init = <0>;
185+
status = "okay";
186+
};};
174187

175188
&iomuxc {
176189
pinctrl-names = "default";
@@ -550,12 +563,12 @@
550563
clock-frequency = <33260000>;
551564
hactive = <800>;
552565
vactive = <480>;
553-
hback-porch = <46>;
554-
hfront-porch = <210>;
555-
vback-porch = <23>;
556-
vfront-porch = <22>;
557-
hsync-len = <1>;
558-
vsync-len = <1>;
566+
hback-porch = <11>;
567+
hfront-porch = <11>;
568+
vback-porch = <12>;
569+
vfront-porch = <11>;
570+
hsync-len = <46>;
571+
vsync-len = <210>;
559572
hsync-active = <0>;
560573
vsync-active = <0>;
561574
de-active = <1>;
@@ -892,7 +905,7 @@
892905
pinctrl-names = "default";
893906
pinctrl-0 = <&pinctrl_pcie>;
894907
reset-gpio = <&gpio2 1 GPIO_ACTIVE_LOW>;
895-
status = "disabled";
896-
// status = "okay";
908+
// status = "disabled";
909+
status = "okay";
897910
};
898911

0 commit comments

Comments
 (0)