* [PATCH 0/2] Add support for S805X based P241 Reference Design board
@ 2018-07-05 9:50 Neil Armstrong
2018-07-05 9:50 ` [PATCH 1/2] dt-bindings: amlogic: Add support for GXL S805X and the P241 board Neil Armstrong
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Neil Armstrong @ 2018-07-05 9:50 UTC (permalink / raw)
To: khilman
Cc: Neil Armstrong, linux-amlogic, linux-arm-kernel, linux-kernel,
martin.blumenstingl
The Amlogic P241 board is the Reference Design board for the S805X
variant of the Amlogic Meson GXL SoC family.
The S805X is a variant of the Amlogic Meson GXL SoC family with the
following physical limitations :
- No SDCard interface
- No GPIOCLK pins
- No USB OTG ID pin (but Gadget feature can stil be forced)
- No 5V regulator
- Reduced ADC inputs (only ADC0 and ADC1)
- GPIODV_26, GPIOAO_3, GPIOAO_4, GPIOAO_5, GPIOAO_6, GPIOX_14,
GPIOX_15, GPIOH_3 are no more exposed on the package
Amlogic exposes the following SW limitations :
- HDMI max resolution should be 1080p60, VPU clock should be downgraded
- Video Decoding should be limited to 1080p60, VDEC clock should be downgraded
- CPU speed should be limited by SCPI OPP table to 1.2GHz
- DRAM interface is limited to DDR4 16bit up to 1GiB
The P241 board has the following features :
- 1GiB DDR4 Memory
- HDMI Connector with CEC
- A/V jack with Stereo Audio and CVBS
- 10/100 Ethernet
- 2x USB2.0 Type-A
- On-board WiFi SDIO Module
- On-board eMMC storage
- Infraread Received
- Factory Reset button
- UART connector
Neil Armstrong (2):
dt-bindings: amlogic: Add support for GXL S805X and the P241 board
ARM64: dts: add S805X based P241 board
Documentation/devicetree/bindings/arm/amlogic.txt | 6 +
arch/arm64/boot/dts/amlogic/Makefile | 1 +
.../boot/dts/amlogic/meson-gxl-s805x-p241.dts | 218 +++++++++++++++++++++
3 files changed, 225 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts
--
2.7.4
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 1/2] dt-bindings: amlogic: Add support for GXL S805X and the P241 board
2018-07-05 9:50 [PATCH 0/2] Add support for S805X based P241 Reference Design board Neil Armstrong
@ 2018-07-05 9:50 ` Neil Armstrong
2018-07-16 22:04 ` Rob Herring
2018-07-05 9:50 ` [PATCH 2/2] ARM64: dts: add S805X based " Neil Armstrong
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Neil Armstrong @ 2018-07-05 9:50 UTC (permalink / raw)
To: khilman, devicetree
Cc: Neil Armstrong, linux-amlogic, linux-arm-kernel, linux-kernel,
martin.blumenstingl
The S805X is a variant of the Amlogic Meson GXL SoC family with the
following physical limitations :
- No SDCard interface
- No GPIOCLK pins
- No USB OTG ID pin (but Gadget feature can stil be forced)
- No 5V regulator
- Reduced ADC inputs (only ADC0 and ADC1)
- GPIODV_26, GPIOAO_3, GPIOAO_4, GPIOAO_5, GPIOAO_6, GPIOX_14,
GPIOX_15, GPIOH_3 are no more exposed on the package
Amlogic exposes the following SW limitations :
- HDMI max resolution should be 1080p60, VPU clock should be downgraded
- Video Decoding should be limited to 1080p60, VDEC clock should be downgraded
- CPU speed should be limited by SCPI OPP table to 1.2GHz
- DRAM interface is limited to DDR4 16bit up to 1GiB
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
Documentation/devicetree/bindings/arm/amlogic.txt | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/amlogic.txt b/Documentation/devicetree/bindings/arm/amlogic.txt
index 6988056..849834c 100644
--- a/Documentation/devicetree/bindings/arm/amlogic.txt
+++ b/Documentation/devicetree/bindings/arm/amlogic.txt
@@ -41,6 +41,10 @@ Boards with the Amlogic Meson GXL S905D SoC shall have the following properties:
Required root node property:
compatible: "amlogic,s905d", "amlogic,meson-gxl";
+Boards with the Amlogic Meson GXL S805X SoC shall have the following properties:
+ Required root node property:
+ compatible: "amlogic,s805x", "amlogic,meson-gxl";
+
Boards with the Amlogic Meson GXM S912 SoC shall have the following properties:
Required root node property:
compatible: "amlogic,s912", "amlogic,meson-gxm";
@@ -79,6 +83,8 @@ Board compatible values (alphabetically, grouped by SoC):
- "amlogic,p230" (Meson gxl s905d)
- "amlogic,p231" (Meson gxl s905d)
+ - "amlogic,p241" (Meson gxl s805x)
+
- "amlogic,q200" (Meson gxm s912)
- "amlogic,q201" (Meson gxm s912)
- "khadas,vim2" (Meson gxm s912)
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] ARM64: dts: add S805X based P241 board
2018-07-05 9:50 [PATCH 0/2] Add support for S805X based P241 Reference Design board Neil Armstrong
2018-07-05 9:50 ` [PATCH 1/2] dt-bindings: amlogic: Add support for GXL S805X and the P241 board Neil Armstrong
@ 2018-07-05 9:50 ` Neil Armstrong
2018-07-06 14:46 ` [PATCH 0/2] Add support for S805X based P241 Reference Design board Jerome Brunet
2018-07-09 22:48 ` Kevin Hilman
3 siblings, 0 replies; 7+ messages in thread
From: Neil Armstrong @ 2018-07-05 9:50 UTC (permalink / raw)
To: khilman, devicetree
Cc: Neil Armstrong, linux-amlogic, linux-arm-kernel, linux-kernel,
martin.blumenstingl
The Amlogic P241 board is the Reference Design board for the S805X
variant of the Amlogic Meson GXL SoC family.
The P241 board has the following features :
- 1GiB DDR4 Memory
- HDMI Connector with CEC
- A/V jack with Stereo Audio and CVBS
- 10/100 Ethernet
- 2x USB2.0 Type-A
- On-board WiFi SDIO Module
- On-board eMMC storage
- Infraread Received
- Factory Reset button
- UART connector
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
---
arch/arm64/boot/dts/amlogic/Makefile | 1 +
.../boot/dts/amlogic/meson-gxl-s805x-p241.dts | 218 +++++++++++++++++++++
2 files changed, 219 insertions(+)
create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts
diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile
index 34dd0e9..4dcffb0 100644
--- a/arch/arm64/boot/dts/amlogic/Makefile
+++ b/arch/arm64/boot/dts/amlogic/Makefile
@@ -17,6 +17,7 @@ dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-nexbox-a95x.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905x-p212.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p230.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s905d-p231.dtb
+dtb-$(CONFIG_ARCH_MESON) += meson-gxl-s805x-p241.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxm-khadas-vim2.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxm-nexbox-a1.dtb
dtb-$(CONFIG_ARCH_MESON) += meson-gxm-q200.dtb
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts b/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts
new file mode 100644
index 0000000..70433e0
--- /dev/null
+++ b/arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts
@@ -0,0 +1,218 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2018 BayLibre, SAS.
+ * Author: Neil Armstrong <narmstrong@baylibre.com>
+ * Author: Jerome Brunet <jbrunet@baylibre.com>
+ */
+
+/dts-v1/;
+
+#include <dt-bindings/input/input.h>
+
+#include "meson-gxl-s905x.dtsi"
+
+/ {
+ compatible = "amlogic,p241", "amlogic,s805x", "amlogic,meson-gxl";
+ model = "Amlogic Meson GXL (S805X) P241 Development Board";
+
+ aliases {
+ serial0 = &uart_AO;
+ serial1 = &uart_A;
+ ethernet0 = ðmac;
+ };
+
+ chosen {
+ stdout-path = "serial0:115200n8";
+ };
+
+ cvbs-connector {
+ compatible = "composite-video-connector";
+
+ port {
+ cvbs_connector_in: endpoint {
+ remote-endpoint = <&cvbs_vdac_out>;
+ };
+ };
+ };
+
+ emmc_pwrseq: emmc-pwrseq {
+ compatible = "mmc-pwrseq-emmc";
+ reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
+ };
+
+ hdmi-connector {
+ compatible = "hdmi-connector";
+ type = "a";
+
+ port {
+ hdmi_connector_in: endpoint {
+ remote-endpoint = <&hdmi_tx_tmds_out>;
+ };
+ };
+ };
+
+ memory@0 {
+ device_type = "memory";
+ reg = <0x0 0x0 0x0 0x20000000>;
+ };
+
+ vddio_boot: regulator-vddio_boot {
+ compatible = "regulator-fixed";
+ regulator-name = "VDDIO_BOOT";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ vddao_3v3: regulator-vddao_3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "VDDAO_3V3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ vddio_ao18: regulator-vddio_ao18 {
+ compatible = "regulator-fixed";
+ regulator-name = "VDDIO_AO18";
+ regulator-min-microvolt = <1800000>;
+ regulator-max-microvolt = <1800000>;
+ };
+
+ vcc_3v3: regulator-vcc_3v3 {
+ compatible = "regulator-fixed";
+ regulator-name = "VCC_3V3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ };
+
+ emmc_pwrseq: emmc-pwrseq {
+ compatible = "mmc-pwrseq-emmc";
+ reset-gpios = <&gpio BOOT_9 GPIO_ACTIVE_LOW>;
+ };
+
+ wifi32k: wifi32k {
+ compatible = "pwm-clock";
+ #clock-cells = <0>;
+ clock-frequency = <32768>;
+ pwms = <&pwm_ef 0 30518 0>; /* PWM_E at 32.768KHz */
+ };
+
+ sdio_pwrseq: sdio-pwrseq {
+ compatible = "mmc-pwrseq-simple";
+ reset-gpios = <&gpio GPIOX_6 GPIO_ACTIVE_LOW>;
+ clocks = <&wifi32k>;
+ clock-names = "ext_clock";
+ };
+};
+
+&cec_AO {
+ status = "okay";
+ pinctrl-0 = <&ao_cec_pins>;
+ pinctrl-names = "default";
+ hdmi-phandle = <&hdmi_tx>;
+};
+
+&cvbs_vdac_port {
+ cvbs_vdac_out: endpoint {
+ remote-endpoint = <&cvbs_connector_in>;
+ };
+};
+
+ðmac {
+ status = "okay";
+};
+
+&internal_phy {
+ pinctrl-0 = <ð_link_led_pins>, <ð_act_led_pins>;
+ pinctrl-names = "default";
+};
+
+&ir {
+ status = "okay";
+ pinctrl-0 = <&remote_input_ao_pins>;
+ pinctrl-names = "default";
+};
+
+&hdmi_tx {
+ status = "okay";
+ pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
+ pinctrl-names = "default";
+};
+
+&hdmi_tx_tmds_port {
+ hdmi_tx_tmds_out: endpoint {
+ remote-endpoint = <&hdmi_connector_in>;
+ };
+};
+
+&saradc {
+ status = "okay";
+ vref-supply = <&vddio_ao18>;
+};
+
+/* Wireless SDIO Module */
+&sd_emmc_a {
+ status = "okay";
+ pinctrl-0 = <&sdio_pins>;
+ pinctrl-1 = <&sdio_clk_gate_pins>;
+ pinctrl-names = "default", "clk-gate";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ bus-width = <4>;
+ cap-sd-highspeed;
+ max-frequency = <100000000>;
+
+ non-removable;
+ disable-wp;
+
+ mmc-pwrseq = <&sdio_pwrseq>;
+
+ vmmc-supply = <&vddao_3v3>;
+ vqmmc-supply = <&vddio_boot>;
+};
+
+/* eMMC */
+&sd_emmc_c {
+ status = "okay";
+ pinctrl-0 = <&emmc_pins>, <&emmc_ds_pins>;
+ pinctrl-1 = <&emmc_clk_gate_pins>;
+ pinctrl-names = "default", "clk-gate";
+
+ bus-width = <8>;
+ cap-mmc-highspeed;
+ max-frequency = <200000000>;
+ non-removable;
+ disable-wp;
+ mmc-ddr-1_8v;
+ mmc-hs200-1_8v;
+
+ mmc-pwrseq = <&emmc_pwrseq>;
+ vmmc-supply = <&vcc_3v3>;
+ vqmmc-supply = <&vddio_boot>;
+};
+
+&pwm_ef {
+ status = "okay";
+ pinctrl-0 = <&pwm_e_pins>;
+ pinctrl-names = "default";
+ clocks = <&clkc CLKID_FCLK_DIV4>;
+ clock-names = "clkin0";
+};
+
+/* This is connected to the Bluetooth module: */
+&uart_A {
+ status = "okay";
+ pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
+ pinctrl-names = "default";
+ uart-has-rtscts;
+};
+
+&uart_AO {
+ status = "okay";
+ pinctrl-0 = <&uart_ao_a_pins>;
+ pinctrl-names = "default";
+};
+
+&usb0 {
+ status = "okay";
+};
--
2.7.4
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Add support for S805X based P241 Reference Design board
2018-07-05 9:50 [PATCH 0/2] Add support for S805X based P241 Reference Design board Neil Armstrong
2018-07-05 9:50 ` [PATCH 1/2] dt-bindings: amlogic: Add support for GXL S805X and the P241 board Neil Armstrong
2018-07-05 9:50 ` [PATCH 2/2] ARM64: dts: add S805X based " Neil Armstrong
@ 2018-07-06 14:46 ` Jerome Brunet
2018-07-09 22:48 ` Kevin Hilman
3 siblings, 0 replies; 7+ messages in thread
From: Jerome Brunet @ 2018-07-06 14:46 UTC (permalink / raw)
To: Neil Armstrong, khilman
Cc: linux-amlogic, linux-arm-kernel, linux-kernel, martin.blumenstingl
On Thu, 2018-07-05 at 11:50 +0200, Neil Armstrong wrote:
> Neil Armstrong (2):
> dt-bindings: amlogic: Add support for GXL S805X and the P241 board
> ARM64: dts: add S805X based P241 board
>
> Documentation/devicetree/bindings/arm/amlogic.txt | 6 +
> arch/arm64/boot/dts/amlogic/Makefile | 1 +
> .../boot/dts/amlogic/meson-gxl-s805x-p241.dts | 218 +++++++++++++++++++++
> 3 files changed, 225 insertions(+)
> create mode 100644 arch/arm64/boot/dts/amlogic/meson-gxl-s805x-p241.dts
Looks good to me
Acked-by: Jerome Brunet <jbrunet@baylibre.com>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Add support for S805X based P241 Reference Design board
2018-07-05 9:50 [PATCH 0/2] Add support for S805X based P241 Reference Design board Neil Armstrong
` (2 preceding siblings ...)
2018-07-06 14:46 ` [PATCH 0/2] Add support for S805X based P241 Reference Design board Jerome Brunet
@ 2018-07-09 22:48 ` Kevin Hilman
2018-07-11 7:57 ` Neil Armstrong
3 siblings, 1 reply; 7+ messages in thread
From: Kevin Hilman @ 2018-07-09 22:48 UTC (permalink / raw)
To: Neil Armstrong
Cc: linux-amlogic, linux-arm-kernel, linux-kernel, martin.blumenstingl
Neil Armstrong <narmstrong@baylibre.com> writes:
> The Amlogic P241 board is the Reference Design board for the S805X
> variant of the Amlogic Meson GXL SoC family.
>
> The S805X is a variant of the Amlogic Meson GXL SoC family with the
> following physical limitations :
> - No SDCard interface
> - No GPIOCLK pins
> - No USB OTG ID pin (but Gadget feature can stil be forced)
> - No 5V regulator
> - Reduced ADC inputs (only ADC0 and ADC1)
> - GPIODV_26, GPIOAO_3, GPIOAO_4, GPIOAO_5, GPIOAO_6, GPIOX_14,
> GPIOX_15, GPIOH_3 are no more exposed on the package
>
> Amlogic exposes the following SW limitations :
> - HDMI max resolution should be 1080p60, VPU clock should be downgraded
> - Video Decoding should be limited to 1080p60, VDEC clock should be downgraded
> - CPU speed should be limited by SCPI OPP table to 1.2GHz
> - DRAM interface is limited to DDR4 16bit up to 1GiB
>
> The P241 board has the following features :
> - 1GiB DDR4 Memory
> - HDMI Connector with CEC
> - A/V jack with Stereo Audio and CVBS
> - 10/100 Ethernet
> - 2x USB2.0 Type-A
> - On-board WiFi SDIO Module
> - On-board eMMC storage
> - Infraread Received
> - Factory Reset button
> - UART connector
Applied to v4.19/dt64.
The cover letter didn't say, but I assume this was at least boot tested
on a p241 board?
Thanks,
Kevin
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 0/2] Add support for S805X based P241 Reference Design board
2018-07-09 22:48 ` Kevin Hilman
@ 2018-07-11 7:57 ` Neil Armstrong
0 siblings, 0 replies; 7+ messages in thread
From: Neil Armstrong @ 2018-07-11 7:57 UTC (permalink / raw)
To: Kevin Hilman
Cc: linux-amlogic, linux-arm-kernel, linux-kernel, martin.blumenstingl
On 10/07/2018 00:48, Kevin Hilman wrote:
> Neil Armstrong <narmstrong@baylibre.com> writes:
>
>> The Amlogic P241 board is the Reference Design board for the S805X
>> variant of the Amlogic Meson GXL SoC family.
>>
>> The S805X is a variant of the Amlogic Meson GXL SoC family with the
>> following physical limitations :
>> - No SDCard interface
>> - No GPIOCLK pins
>> - No USB OTG ID pin (but Gadget feature can stil be forced)
>> - No 5V regulator
>> - Reduced ADC inputs (only ADC0 and ADC1)
>> - GPIODV_26, GPIOAO_3, GPIOAO_4, GPIOAO_5, GPIOAO_6, GPIOX_14,
>> GPIOX_15, GPIOH_3 are no more exposed on the package
>>
>> Amlogic exposes the following SW limitations :
>> - HDMI max resolution should be 1080p60, VPU clock should be downgraded
>> - Video Decoding should be limited to 1080p60, VDEC clock should be downgraded
>> - CPU speed should be limited by SCPI OPP table to 1.2GHz
>> - DRAM interface is limited to DDR4 16bit up to 1GiB
>>
>> The P241 board has the following features :
>> - 1GiB DDR4 Memory
>> - HDMI Connector with CEC
>> - A/V jack with Stereo Audio and CVBS
>> - 10/100 Ethernet
>> - 2x USB2.0 Type-A
>> - On-board WiFi SDIO Module
>> - On-board eMMC storage
>> - Infraread Received
>> - Factory Reset button
>> - UART connector
>
> Applied to v4.19/dt64.
>
> The cover letter didn't say, but I assume this was at least boot tested
> on a p241 board?
Exact, it's boot tested on a p241 board.
Neil
>
> Thanks,
>
> Kevin
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH 1/2] dt-bindings: amlogic: Add support for GXL S805X and the P241 board
2018-07-05 9:50 ` [PATCH 1/2] dt-bindings: amlogic: Add support for GXL S805X and the P241 board Neil Armstrong
@ 2018-07-16 22:04 ` Rob Herring
0 siblings, 0 replies; 7+ messages in thread
From: Rob Herring @ 2018-07-16 22:04 UTC (permalink / raw)
To: Neil Armstrong
Cc: khilman, devicetree, linux-amlogic, linux-arm-kernel,
linux-kernel, martin.blumenstingl
On Thu, Jul 05, 2018 at 11:50:42AM +0200, Neil Armstrong wrote:
> The S805X is a variant of the Amlogic Meson GXL SoC family with the
> following physical limitations :
> - No SDCard interface
> - No GPIOCLK pins
> - No USB OTG ID pin (but Gadget feature can stil be forced)
> - No 5V regulator
> - Reduced ADC inputs (only ADC0 and ADC1)
> - GPIODV_26, GPIOAO_3, GPIOAO_4, GPIOAO_5, GPIOAO_6, GPIOX_14,
> GPIOX_15, GPIOH_3 are no more exposed on the package
>
> Amlogic exposes the following SW limitations :
> - HDMI max resolution should be 1080p60, VPU clock should be downgraded
> - Video Decoding should be limited to 1080p60, VDEC clock should be downgraded
> - CPU speed should be limited by SCPI OPP table to 1.2GHz
> - DRAM interface is limited to DDR4 16bit up to 1GiB
>
> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
> ---
> Documentation/devicetree/bindings/arm/amlogic.txt | 6 ++++++
> 1 file changed, 6 insertions(+)
Reviewed-by: Rob Herring <robh@kernel.org>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-07-16 22:04 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-05 9:50 [PATCH 0/2] Add support for S805X based P241 Reference Design board Neil Armstrong
2018-07-05 9:50 ` [PATCH 1/2] dt-bindings: amlogic: Add support for GXL S805X and the P241 board Neil Armstrong
2018-07-16 22:04 ` Rob Herring
2018-07-05 9:50 ` [PATCH 2/2] ARM64: dts: add S805X based " Neil Armstrong
2018-07-06 14:46 ` [PATCH 0/2] Add support for S805X based P241 Reference Design board Jerome Brunet
2018-07-09 22:48 ` Kevin Hilman
2018-07-11 7:57 ` Neil Armstrong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).