dt-bindings: Add doc for Fastrhino R66S / R68S
Subsystems (2)
PATCH 1/3 dt-bindings: Add doc for Fastrhino R66S / R68S
Add devicetree binding documentation for the
Lunzn Fastrhino R66S and R68S boards.
--- Documentation/devicetree/bindings/arm/rockchip.yaml | 7 +++++++ Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 2 files changed, 9 insertions(+)
Documentation/devicetree/bindings/arm/rockchip.yaml +7 -0
@@ -562,6 +562,13 @@ properties: - const: leez,p710 - const: rockchip,rk3399 + - description: Lunzn FastRhino R66S / R68S + items: + - enum: + - lunzn,fastrhino-r66s + - lunzn,fastrhino-r68s + - const: rockchip,rk3568 + - description: mqmaker MiQi items: - const: mqmaker,miqi
Documentation/devicetree/bindings/vendor-prefixes.yaml +2 -0
@@ -779,6 +779,8 @@ patternProperties: description: Loongson Technology Corporation Limited "^lsi,.*": description: LSI Corp. (LSI Logic) + "^lunzn,.*": + description: Shenzhen Lunzn Technology Co., Ltd. "^lwn,.*": description: Liebherr-Werk Nenzing GmbH "^lxa,.*":
Signature · 1 line
2.40.1
PATCH 2/3 arm64: dts: rockchip: Add Lunzn Fastrhino R66S
Lunzn Fastrhino R66S is a high-performance mini router.
Specification:
- Rockchip RK3568
- 1/2GB LPDDR4 RAM
- SD card slot
- M.2 Connector
- 2x USB 3.0 Port
- 2x 2500 Base-T (PCIe, r8125b)
- 12v DC Jack
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3568-fastrhino-r66s.dts | 27 + .../dts/rockchip/rk3568-fastrhino-r66s.dtsi | 507 ++++++++++++++++++ 3 files changed, 535 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -85,6 +85,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtb
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +27 -0
@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "rk3568-fastrhino-r66s.dtsi" + +/ { + model = "Lunzn FastRhino R66S"; + compatible = "lunzn,fastrhino-r66s", "rockchip,rk3568"; + + aliases { + mmc0 = &sdmmc0; + }; +}; + +&sdmmc0 { + max-frequency = <150000000>; + no-sdio; + no-mmc; + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + vmmc-supply = <&vcc3v3_sd>; + vqmmc-supply = <&vccio_sd>; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; + status = "okay"; +};
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi new file +507 -0
507 lines not on this page · raw message
Signature · 1 line
2.40.1
Re: [PATCH 2/3] arm64: dts: rockchip: Add Lunzn Fastrhino R66S
Quoted 77 lines · Tianling Shen
Lunzn Fastrhino R66S is a high-performance mini router.
Specification:
- Rockchip RK3568
- 1/2GB LPDDR4 RAM
- SD card slot
- M.2 Connector
- 2x USB 3.0 Port
- 2x 2500 Base-T (PCIe, r8125b)
- 12v DC JackSigned-off-by Tianling Shen <[email protected]>--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3568-fastrhino-r66s.dts | 27 + .../dts/rockchip/rk3568-fastrhino-r66s.dtsi | 507 ++++++++++++++++++ 3 files changed, 535 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsiarch/arm64/boot/dts/rockchip/Makefile +1
-0@@ -85,6 +85,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtbarch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +27
-0@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "rk3568-fastrhino-r66s.dtsi" + +/ { + model = "Lunzn FastRhino R66S"; + compatible = "lunzn,fastrhino-r66s", "rockchip,rk3568"; + + aliases { + mmc0 = &sdmmc0; + }; +}; + +&sdmmc0 { + max-frequency = <150000000>; + no-sdio; + no-mmc; + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + vmmc-supply = <&vcc3v3_sd>; + vqmmc-supply = <&vccio_sd>; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; + status = "okay"; +};arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi new file +6
-0@@ -0,0 +1,507 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +/dts-v1/; +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h>
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi line 16
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi new file +10
-0+#include <dt-bindings/pinctrl/rockchip.h> +#include <dt-bindings/soc/rockchip,vop2.h> +#include "rk3568.dtsi" + +/ { + aliases { + led-boot = &status_led; + led-failsafe = &status_led; + led-running = &status_led; + led-upgrade = &status_led;
Why do you need these? Which upstream kernel driver parses these?
Best regards,
Krzysztof
Re: [PATCH 2/3] arm64: dts: rockchip: Add Lunzn Fastrhino R66S
Hi Krzysztof,
Quoted 83 lines · Krzysztof Kozlowski
Quoted 81 lines · Tianling Shen
Lunzn Fastrhino R66S is a high-performance mini router.
Specification:
- Rockchip RK3568
- 1/2GB LPDDR4 RAM
- SD card slot
- M.2 Connector
- 2x USB 3.0 Port
- 2x 2500 Base-T (PCIe, r8125b)
- 12v DC JackSigned-off-by Tianling Shen <[email protected]>--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3568-fastrhino-r66s.dts | 27 + .../dts/rockchip/rk3568-fastrhino-r66s.dtsi | 507 ++++++++++++++++++ 3 files changed, 535 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsiarch/arm64/boot/dts/rockchip/Makefile +1
-0@@ -85,6 +85,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtbarch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +27
-0@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "rk3568-fastrhino-r66s.dtsi" + +/ { + model = "Lunzn FastRhino R66S"; + compatible = "lunzn,fastrhino-r66s", "rockchip,rk3568"; + + aliases { + mmc0 = &sdmmc0; + }; +}; + +&sdmmc0 { + max-frequency = <150000000>; + no-sdio; + no-mmc; + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + vmmc-supply = <&vcc3v3_sd>; + vqmmc-supply = <&vccio_sd>; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; + status = "okay"; +};arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi new file +10
-0@@ -0,0 +1,507 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +/dts-v1/; +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> +#include <dt-bindings/pinctrl/rockchip.h> +#include <dt-bindings/soc/rockchip,vop2.h> +#include "rk3568.dtsi" +
Quoted 8 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi line 16
Quoted 6 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsi new file +6
-0+/ { + aliases { + led-boot = &status_led; + led-failsafe = &status_led; + led-running = &status_led; + led-upgrade = &status_led;Why do you need these? Which upstream kernel driver parses these?
Oh sorry these aliases are used for OpenWrt and I forgot to remove them when submitting patches. Will send v2 for it.
Thanks,
Tianling.
Quoted 5 lines
Best regards,
Krzysztof
Heiko Stübner
maintainerRe: [PATCH 2/3] arm64: dts: rockchip: Add Lunzn Fastrhino R66S
In reply to Tianling ShenHi,
Am Freitag, 28. April 2023, 03:37:37 CEST schrieb Tianling Shen:
Quoted 42 lines
Lunzn Fastrhino R66S is a high-performance mini router.
Specification:
- Rockchip RK3568
- 1/2GB LPDDR4 RAM
- SD card slot
- M.2 Connector
- 2x USB 3.0 Port
- 2x 2500 Base-T (PCIe, r8125b)
- 12v DC JackSigned-off-by Tianling Shen <[email protected]>--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3568-fastrhino-r66s.dts | 27 + .../dts/rockchip/rk3568-fastrhino-r66s.dtsi | 507 ++++++++++++++++++ 3 files changed, 535 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsiarch/arm64/boot/dts/rockchip/Makefile +1
-0@@ -85,6 +85,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtbarch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +4
-0@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "rk3568-fastrhino-r66s.dtsi" +
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts line 14
Quoted 10 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +10
-0+/ { + model = "Lunzn FastRhino R66S"; + compatible = "lunzn,fastrhino-r66s", "rockchip,rk3568"; + + aliases { + mmc0 = &sdmmc0; + }; +}; + +&sdmmc0 {
that whole element seems to be duplicated from rk3568-fastrhino-r66s.dtsi? I don't think we need to declare that twice. If something really changes, please only declare the new properties when going from dtsi to dts.
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts line 27
Quoted 13 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +13
-0+ max-frequency = <150000000>; + no-sdio; + no-mmc; + bus-width = <4>; + cap-mmc-highspeed; + cap-sd-highspeed; + disable-wp; + vmmc-supply = <&vcc3v3_sd>; + vqmmc-supply = <&vccio_sd>; + pinctrl-names = "default"; + pinctrl-0 = <&sdmmc0_bus4 &sdmmc0_clk &sdmmc0_cmd &sdmmc0_det>; + status = "okay"; +};
Thanks
Heiko
Heiko Stübner
maintainerRe: [PATCH 2/3] arm64: dts: rockchip: Add Lunzn Fastrhino R66S
Am Dienstag, 2. Mai 2023, 11:28:22 CEST schrieb Heiko Stübner:
Quoted 51 lines
Hi,
Am Freitag, 28. April 2023, 03:37:37 CEST schrieb Tianling Shen:
Quoted 48 lines
Lunzn Fastrhino R66S is a high-performance mini router.
Specification:
- Rockchip RK3568
- 1/2GB LPDDR4 RAM
- SD card slot
- M.2 Connector
- 2x USB 3.0 Port
- 2x 2500 Base-T (PCIe, r8125b)
- 12v DC JackSigned-off-by Tianling Shen <[email protected]>--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3568-fastrhino-r66s.dts | 27 + .../dts/rockchip/rk3568-fastrhino-r66s.dtsi | 507 ++++++++++++++++++ 3 files changed, 535 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsiarch/arm64/boot/dts/rockchip/Makefile +1
-0@@ -85,6 +85,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtbarch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +10
-0@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "rk3568-fastrhino-r66s.dtsi" + +/ { + model = "Lunzn FastRhino R66S"; + compatible = "lunzn,fastrhino-r66s", "rockchip,rk3568"; + + aliases { + mmc0 = &sdmmc0;
Quoted 8 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts line 14
Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +4
-0+ }; +}; + +&sdmmc0 {that whole element seems to be duplicated from
rk3568-fastrhino-r66s.dtsi? I don't think we need to declare that twice. If something really changes, please only declare the new properties when going from dtsi to dts.
Looking at patch3 I see the explanation :-) .
The base dtsi should not contain the &sdmmc0 node, and it should only be included in the rk3568-fastrhino-r66s.dts, right?
Heiko
Re: [PATCH 2/3] arm64: dts: rockchip: Add Lunzn Fastrhino R66S
Hi Heiko,
Quoted 62 lines · Heiko Stübner
Am Dienstag, 2. Mai 2023, 11:28:22 CEST schrieb Heiko Stübner:
Quoted 51 lines
Hi,
Am Freitag, 28. April 2023, 03:37:37 CEST schrieb Tianling Shen:
Quoted 48 lines
Lunzn Fastrhino R66S is a high-performance mini router.
Specification:
- Rockchip RK3568
- 1/2GB LPDDR4 RAM
- SD card slot
- M.2 Connector
- 2x USB 3.0 Port
- 2x 2500 Base-T (PCIe, r8125b)
- 12v DC JackSigned-off-by Tianling Shen <[email protected]>--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3568-fastrhino-r66s.dts | 27 + .../dts/rockchip/rk3568-fastrhino-r66s.dtsi | 507 ++++++++++++++++++ 3 files changed, 535 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsiarch/arm64/boot/dts/rockchip/Makefile +1
-0@@ -85,6 +85,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtbarch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +10
-0@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "rk3568-fastrhino-r66s.dtsi" + +/ { + model = "Lunzn FastRhino R66S"; + compatible = "lunzn,fastrhino-r66s", "rockchip,rk3568"; + + aliases { + mmc0 = &sdmmc0;Quoted 8 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts line 14
Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +4
-0+ }; +}; + +&sdmmc0 {that whole element seems to be duplicated from
rk3568-fastrhino-r66s.dtsi? I don't think we need to declare that twice. If something really changes, please only declare the new properties when going from dtsi to dts.
Quoted 5 lines
Looking at patch3 I see the explanation :-) .
The base dtsi should not contain the &sdmmc0 node, and it should only be included in the
rk3568-fastrhino-r66s.dts, right?
Yes, nice catch!
And I found another error in the R68S dts file (gmac pcfg pull type). Unfortunately I don't have this board right now, and I'm still waiting for the test result from my friend. Suppose sending v2 in the next few days.
Thanks,
Tianling.
Quoted 4 lines
Heiko
Heiko Stübner
maintainerRe: [PATCH 2/3] arm64: dts: rockchip: Add Lunzn Fastrhino R66S
Am Dienstag, 2. Mai 2023, 11:53:58 CEST schrieb Tianling Shen:
Quoted 71 lines
Hi Heiko,
Quoted 62 lines · Heiko Stübner
Am Dienstag, 2. Mai 2023, 11:28:22 CEST schrieb Heiko Stübner:
Quoted 51 lines
Hi,
Am Freitag, 28. April 2023, 03:37:37 CEST schrieb Tianling Shen:
Quoted 48 lines
Lunzn Fastrhino R66S is a high-performance mini router.
Specification:
- Rockchip RK3568
- 1/2GB LPDDR4 RAM
- SD card slot
- M.2 Connector
- 2x USB 3.0 Port
- 2x 2500 Base-T (PCIe, r8125b)
- 12v DC JackSigned-off-by Tianling Shen <[email protected]>--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3568-fastrhino-r66s.dts | 27 + .../dts/rockchip/rk3568-fastrhino-r66s.dtsi | 507 ++++++++++++++++++ 3 files changed, 535 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dtsiarch/arm64/boot/dts/rockchip/Makefile +1
-0@@ -85,6 +85,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-box-demo.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtbarch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +10
-0@@ -0,0 +1,27 @@ +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT + +#include "rk3568-fastrhino-r66s.dtsi" + +/ { + model = "Lunzn FastRhino R66S"; + compatible = "lunzn,fastrhino-r66s", "rockchip,rk3568"; + + aliases { + mmc0 = &sdmmc0;Quoted 8 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts line 14
Quoted 4 lines
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r66s.dts new file +4
-0+ }; +}; + +&sdmmc0 {that whole element seems to be duplicated from
rk3568-fastrhino-r66s.dtsi? I don't think we need to declare that twice. If something really changes, please only declare the new properties when going from dtsi to dts.Quoted 5 lines
Looking at patch3 I see the explanation :-) .
The base dtsi should not contain the &sdmmc0 node, and it should only be included in the
rk3568-fastrhino-r66s.dts, right?
Quoted 6 lines
Yes, nice catch!
And I found another error in the R68S dts file (gmac pcfg pull type). Unfortunately I don't have this board right now, and I'm still waiting for the test result from my friend. Suppose sending v2 in the next few days.
no worries, send when you're ready :-)
Heiko
PATCH 3/3 arm64: dts: rockchip: Add Lunzn Fastrhino R68S
In reply to Tianling ShenIt's similar to Fastrhino R66S with the following changes:
+ 2/4GB LPDDR4 RAM
+ 2x 1000 Base-T (native, RTL8211f)
+ ADC button
+ 16GB eMMC on-board
- No SD card slot
--- arch/arm64/boot/dts/rockchip/Makefile | 1 + .../dts/rockchip/rk3568-fastrhino-r68s.dts | 112 ++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r68s.dts
arch/arm64/boot/dts/rockchip/Makefile +1 -0
@@ -86,6 +86,7 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3566-lubancat-1.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-bpi-r2-pro.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-evb1-v10.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r66s.dtb +dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-fastrhino-r68s.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-lubancat-2.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5c.dtb dtb-$(CONFIG_ARCH_ROCKCHIP) += rk3568-nanopi-r5s.dtb
arch/arm64/boot/dts/rockchip/rk3568-fastrhino-r68s.dts new file +112 -0
112 lines not on this page · raw message
Signature · 1 line
2.40.1
Quoted 5 lines · Tianling Shen
Add devicetree binding documentation for the
Lunzn Fastrhino R66S and R68S boards.Signed-off-by Tianling Shen <[email protected]>---
Best regards,
Krzysztof