Commit 71acc94c authored by Olof Johansson's avatar Olof Johansson

Merge tag 'v5.6-rockchip-dts64-2' of...

Merge tag 'v5.6-rockchip-dts64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/dt

DSI display for px30 evaluation board and a number of cleanups
accross multiple socs.

* tag 'v5.6-rockchip-dts64-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip:
  arm64: dts: rockchip: Kill off "simple-panel" compatibles
  arm64: dts: rockchip: rename dwmmc node names to mmc
  arm64: dts: rockchip: hook up the px30-evb dsi display
  arm64: dts: rockchip: Enable sdio0 and uart0 on rk3399-roc-pc-mezzanine
  arm64: dts: rockchip: add reg property to brcmf sub-nodes
  arm64: dts: rockchip: fix dwmmc clock name for rk3308
  arm64: dts: rockchip: fix dwmmc clock name for px30

Link: https://lore.kernel.org/r/7641353.lIegmeFAIi@philSigned-off-by: default avatarOlof Johansson <olof@lixom.net>
parents b744f098 62b5efc9
...@@ -112,6 +112,38 @@ &display_subsystem { ...@@ -112,6 +112,38 @@ &display_subsystem {
status = "okay"; status = "okay";
}; };
&dsi {
status = "okay";
ports {
mipi_out: port@1 {
reg = <1>;
mipi_out_panel: endpoint {
remote-endpoint = <&mipi_in_panel>;
};
};
};
panel@0 {
compatible = "xinpeng,xpp055c272";
reg = <0>;
backlight = <&backlight>;
iovcc-supply = <&vcc_1v8>;
vci-supply = <&vcc3v3_lcd>;
port {
mipi_in_panel: endpoint {
remote-endpoint = <&mipi_out_panel>;
};
};
};
};
&dsi_dphy {
status = "okay";
};
&emmc { &emmc {
bus-width = <8>; bus-width = <8>;
cap-mmc-highspeed; cap-mmc-highspeed;
......
...@@ -924,13 +924,13 @@ gmac: ethernet@ff360000 { ...@@ -924,13 +924,13 @@ gmac: ethernet@ff360000 {
status = "disabled"; status = "disabled";
}; };
sdmmc: dwmmc@ff370000 { sdmmc: mmc@ff370000 {
compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff370000 0x0 0x4000>; reg = <0x0 0xff370000 0x0 0x4000>;
interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
<&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
clock-names = "biu", "ciu", "ciu-drv", "ciu-sample"; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>; fifo-depth = <0x100>;
max-frequency = <150000000>; max-frequency = <150000000>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -939,13 +939,13 @@ sdmmc: dwmmc@ff370000 { ...@@ -939,13 +939,13 @@ sdmmc: dwmmc@ff370000 {
status = "disabled"; status = "disabled";
}; };
sdio: dwmmc@ff380000 { sdio: mmc@ff380000 {
compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff380000 0x0 0x4000>; reg = <0x0 0xff380000 0x0 0x4000>;
interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
<&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
clock-names = "biu", "ciu", "ciu-drv", "ciu-sample"; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>; fifo-depth = <0x100>;
max-frequency = <150000000>; max-frequency = <150000000>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -954,13 +954,13 @@ sdio: dwmmc@ff380000 { ...@@ -954,13 +954,13 @@ sdio: dwmmc@ff380000 {
status = "disabled"; status = "disabled";
}; };
emmc: dwmmc@ff390000 { emmc: mmc@ff390000 {
compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,px30-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff390000 0x0 0x4000>; reg = <0x0 0xff390000 0x0 0x4000>;
interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
<&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
clock-names = "biu", "ciu", "ciu-drv", "ciu-sample"; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>; fifo-depth = <0x100>;
max-frequency = <150000000>; max-frequency = <150000000>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -584,14 +584,14 @@ spdif_tx: spdif-tx@ff3a0000 { ...@@ -584,14 +584,14 @@ spdif_tx: spdif-tx@ff3a0000 {
status = "disabled"; status = "disabled";
}; };
sdmmc: dwmmc@ff480000 { sdmmc: mmc@ff480000 {
compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff480000 0x0 0x4000>; reg = <0x0 0xff480000 0x0 0x4000>;
interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>;
bus-width = <4>; bus-width = <4>;
clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>, clocks = <&cru HCLK_SDMMC>, <&cru SCLK_SDMMC>,
<&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>; <&cru SCLK_SDMMC_DRV>, <&cru SCLK_SDMMC_SAMPLE>;
clock-names = "biu", "ciu", "ciu-drv", "ciu-sample"; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>; fifo-depth = <0x100>;
max-frequency = <150000000>; max-frequency = <150000000>;
pinctrl-names = "default"; pinctrl-names = "default";
...@@ -599,27 +599,27 @@ sdmmc: dwmmc@ff480000 { ...@@ -599,27 +599,27 @@ sdmmc: dwmmc@ff480000 {
status = "disabled"; status = "disabled";
}; };
emmc: dwmmc@ff490000 { emmc: mmc@ff490000 {
compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff490000 0x0 0x4000>; reg = <0x0 0xff490000 0x0 0x4000>;
interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>;
bus-width = <8>; bus-width = <8>;
clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>, clocks = <&cru HCLK_EMMC>, <&cru SCLK_EMMC>,
<&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>; <&cru SCLK_EMMC_DRV>, <&cru SCLK_EMMC_SAMPLE>;
clock-names = "biu", "ciu", "ciu-drv", "ciu-sample"; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>; fifo-depth = <0x100>;
max-frequency = <150000000>; max-frequency = <150000000>;
status = "disabled"; status = "disabled";
}; };
sdio: dwmmc@ff4a0000 { sdio: mmc@ff4a0000 {
compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,rk3308-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff4a0000 0x0 0x4000>; reg = <0x0 0xff4a0000 0x0 0x4000>;
interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
bus-width = <4>; bus-width = <4>;
clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>, clocks = <&cru HCLK_SDIO>, <&cru SCLK_SDIO>,
<&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>; <&cru SCLK_SDIO_DRV>, <&cru SCLK_SDIO_SAMPLE>;
clock-names = "biu", "ciu", "ciu-drv", "ciu-sample"; clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
fifo-depth = <0x100>; fifo-depth = <0x100>;
max-frequency = <150000000>; max-frequency = <150000000>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -854,7 +854,7 @@ u2phy_host: host-port { ...@@ -854,7 +854,7 @@ u2phy_host: host-port {
}; };
}; };
sdmmc: dwmmc@ff500000 { sdmmc: mmc@ff500000 {
compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff500000 0x0 0x4000>; reg = <0x0 0xff500000 0x0 0x4000>;
interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>;
...@@ -866,7 +866,7 @@ sdmmc: dwmmc@ff500000 { ...@@ -866,7 +866,7 @@ sdmmc: dwmmc@ff500000 {
status = "disabled"; status = "disabled";
}; };
sdio: dwmmc@ff510000 { sdio: mmc@ff510000 {
compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff510000 0x0 0x4000>; reg = <0x0 0xff510000 0x0 0x4000>;
interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>;
...@@ -878,7 +878,7 @@ sdio: dwmmc@ff510000 { ...@@ -878,7 +878,7 @@ sdio: dwmmc@ff510000 {
status = "disabled"; status = "disabled";
}; };
emmc: dwmmc@ff520000 { emmc: mmc@ff520000 {
compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,rk3328-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff520000 0x0 0x4000>; reg = <0x0 0xff520000 0x0 0x4000>;
interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>;
......
...@@ -204,7 +204,7 @@ xin24m: oscillator { ...@@ -204,7 +204,7 @@ xin24m: oscillator {
#clock-cells = <0>; #clock-cells = <0>;
}; };
sdmmc: dwmmc@ff0c0000 { sdmmc: mmc@ff0c0000 {
compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff0c0000 0x0 0x4000>; reg = <0x0 0xff0c0000 0x0 0x4000>;
max-frequency = <150000000>; max-frequency = <150000000>;
...@@ -218,7 +218,7 @@ sdmmc: dwmmc@ff0c0000 { ...@@ -218,7 +218,7 @@ sdmmc: dwmmc@ff0c0000 {
status = "disabled"; status = "disabled";
}; };
sdio0: dwmmc@ff0d0000 { sdio0: mmc@ff0d0000 {
compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff0d0000 0x0 0x4000>; reg = <0x0 0xff0d0000 0x0 0x4000>;
max-frequency = <150000000>; max-frequency = <150000000>;
...@@ -232,7 +232,7 @@ sdio0: dwmmc@ff0d0000 { ...@@ -232,7 +232,7 @@ sdio0: dwmmc@ff0d0000 {
status = "disabled"; status = "disabled";
}; };
emmc: dwmmc@ff0f0000 { emmc: mmc@ff0f0000 {
compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc"; compatible = "rockchip,rk3368-dw-mshc", "rockchip,rk3288-dw-mshc";
reg = <0x0 0xff0f0000 0x0 0x4000>; reg = <0x0 0xff0f0000 0x0 0x4000>;
max-frequency = <150000000>; max-frequency = <150000000>;
......
...@@ -668,9 +668,12 @@ &sdio0 { ...@@ -668,9 +668,12 @@ &sdio0 {
vqmmc-supply = &vcc1v8_s3; /* IO line */ vqmmc-supply = &vcc1v8_s3; /* IO line */
vmmc-supply = &vcc_sdio; /* card's power */ vmmc-supply = &vcc_sdio; /* card's power */
#address-cells = <1>;
#size-cells = <0>;
status = "okay"; status = "okay";
brcmf: wifi@1 { brcmf: wifi@1 {
reg = <1>;
compatible = "brcm,bcm4329-fmac"; compatible = "brcm,bcm4329-fmac";
interrupt-parent = <&gpio0>; interrupt-parent = <&gpio0>;
interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
......
...@@ -18,7 +18,7 @@ / { ...@@ -18,7 +18,7 @@ / {
"google,bob", "google,gru", "rockchip,rk3399"; "google,bob", "google,gru", "rockchip,rk3399";
edp_panel: edp-panel { edp_panel: edp-panel {
compatible = "boe,nv101wxmn51", "simple-panel"; compatible = "boe,nv101wxmn51";
backlight = <&backlight>; backlight = <&backlight>;
power-supply = <&pp3300_disp>; power-supply = <&pp3300_disp>;
......
...@@ -39,7 +39,7 @@ p3_3v_dig: p3-3v-dig { ...@@ -39,7 +39,7 @@ p3_3v_dig: p3-3v-dig {
}; };
edp_panel: edp-panel { edp_panel: edp-panel {
compatible = "sharp,lq123p1jx31", "simple-panel"; compatible = "sharp,lq123p1jx31";
backlight = <&backlight>; backlight = <&backlight>;
power-supply = <&pp3300_disp>; power-supply = <&pp3300_disp>;
......
...@@ -654,9 +654,12 @@ &sdio0 { ...@@ -654,9 +654,12 @@ &sdio0 {
sd-uhs-sdr104; sd-uhs-sdr104;
vqmmc-supply = <&vcc1v8_s3>; vqmmc-supply = <&vcc1v8_s3>;
vmmc-supply = <&vccio_sd>; vmmc-supply = <&vccio_sd>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay"; status = "okay";
brcmf: wifi@1 { brcmf: wifi@1 {
reg = <1>;
compatible = "brcm,bcm4329-fmac"; compatible = "brcm,bcm4329-fmac";
interrupt-parent = <&gpio0>; interrupt-parent = <&gpio0>;
interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
......
...@@ -648,9 +648,12 @@ &sdio0 { ...@@ -648,9 +648,12 @@ &sdio0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
sd-uhs-sdr104; sd-uhs-sdr104;
#address-cells = <1>;
#size-cells = <0>;
status = "okay"; status = "okay";
brcmf: wifi@1 { brcmf: wifi@1 {
reg = <1>;
compatible = "brcm,bcm4329-fmac"; compatible = "brcm,bcm4329-fmac";
interrupt-parent = <&gpio0>; interrupt-parent = <&gpio0>;
interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>; interrupts = <RK_PA3 GPIO_ACTIVE_HIGH>;
......
...@@ -70,3 +70,24 @@ pcie_perst: pcie-perst { ...@@ -70,3 +70,24 @@ pcie_perst: pcie-perst {
}; };
}; };
}; };
&sdio0 {
bus-width = <4>;
cap-sd-highspeed;
cap-sdio-irq;
keep-power-in-suspend;
mmc-pwrseq = <&sdio_pwrseq>;
non-removable;
pinctrl-names = "default";
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
sd-uhs-sdr104;
vmmc-supply = <&vcc3v3_ngff>;
vqmmc-supply = <&vcc_1v8>;
status = "okay";
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
status = "okay";
};
...@@ -84,7 +84,7 @@ backlight: backlight { ...@@ -84,7 +84,7 @@ backlight: backlight {
}; };
edp_panel: edp-panel { edp_panel: edp-panel {
compatible ="lg,lp079qx1-sp0v", "simple-panel"; compatible ="lg,lp079qx1-sp0v";
backlight = <&backlight>; backlight = <&backlight>;
enable-gpios = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>; enable-gpios = <&gpio4 RK_PC6 GPIO_ACTIVE_HIGH>;
pinctrl-names = "default"; pinctrl-names = "default";
......
...@@ -291,7 +291,7 @@ gmac: ethernet@fe300000 { ...@@ -291,7 +291,7 @@ gmac: ethernet@fe300000 {
status = "disabled"; status = "disabled";
}; };
sdio0: dwmmc@fe310000 { sdio0: mmc@fe310000 {
compatible = "rockchip,rk3399-dw-mshc", compatible = "rockchip,rk3399-dw-mshc",
"rockchip,rk3288-dw-mshc"; "rockchip,rk3288-dw-mshc";
reg = <0x0 0xfe310000 0x0 0x4000>; reg = <0x0 0xfe310000 0x0 0x4000>;
...@@ -307,7 +307,7 @@ sdio0: dwmmc@fe310000 { ...@@ -307,7 +307,7 @@ sdio0: dwmmc@fe310000 {
status = "disabled"; status = "disabled";
}; };
sdmmc: dwmmc@fe320000 { sdmmc: mmc@fe320000 {
compatible = "rockchip,rk3399-dw-mshc", compatible = "rockchip,rk3399-dw-mshc",
"rockchip,rk3288-dw-mshc"; "rockchip,rk3288-dw-mshc";
reg = <0x0 0xfe320000 0x0 0x4000>; reg = <0x0 0xfe320000 0x0 0x4000>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment