dts: Minimal device tree for Quanta Q71L BMC
Subsystems (2)
PATCH v4 1/1 dts: Minimal device tree for Quanta Q71L BMC
Supports:
- BMC console UART
- BMC boot flash
- host boot flash
- host virtual UART (host console)
---
Changes in v2:
- Reserve correct VGA framebuffer location in RAM
- Remove pinctl settings for FLBUSY and FLWP as Q71L uses those pins as GPIOs
- Enable I2C masters used by Q71L
Changes in v3:
- Remove opp prefix from dts filename as this is not an OpenPower machine
Changes in v4:
- Fix commit message noise. Time to go home.
--- arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts | 120 +++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts
arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts new file +120 -0
@@ -0,0 +1,120 @@ +/dts-v1/; + +#include "aspeed-g4.dtsi" +#include <dt-bindings/gpio/aspeed-gpio.h> + +/ { + model = "Quanta Q71L BMC"; + compatible = "quanta,q71l-bmc", "aspeed,ast2400"; + + aliases { + serial4 = &uart5; + }; + + chosen { + stdout-path = &uart5; + bootargs = "console=ttyS4,115200 earlyprintk"; + }; + + memory { + reg = <0x40000000 0x8000000>; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + vga_memory: framebuffer@47800000 { + no-map; + reg = <0x47800000 0x00800000>; /* 8MB */ + }; + }; + + ahb { + bmc_pnor: fmc@1e620000 { + reg = < 0x1e620000 0x94 + 0x20000000 0x02000000 >; + #address-cells = <1>; + #size-cells = <0>; + compatible = "aspeed,ast2400-fmc"; + aspeed,fmc-has-dma; + interrupts = <19>; + flash@0 { + reg = < 0 >; + compatible = "jedec,spi-nor" ; +#include "aspeed-bmc-opp-flash-layout.dtsi" + }; + }; + + host_pnor: spi@1e630000 { + reg = < 0x1e630000 0x18 + 0x30000000 0x01000000 >; + #address-cells = <1>; + #size-cells = <0>; + compatible = "aspeed,ast2400-smc"; + flash { + reg = < 0 >; + compatible = "jedec,spi-nor" ; + label = "pnor"; + }; + }; + }; +}; + +&pinctrl { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_vgahs_default &pinctrl_vgavs_default + &pinctrl_ddcclk_default &pinctrl_ddcdat_default>; +}; + +&mac0 { + status = "okay"; + + use-ncsi; + no-hw-checksum; +}; + +&uart5 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; +}; + +&i2c1 { + status = "okay"; +}; + +&i2c2 { + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +&i2c4 { + status = "okay"; +}; + +&i2c5 { + status = "okay"; +}; + +&i2c6 { + status = "okay"; +}; + +&i2c7 { + status = "okay"; +}; + +&i2c8 { + status = "okay"; +}; + +&vuart { + status = "okay"; +};
Signature · 1 line
2.11.0.483.g087da7b7c-goog
Hello, Rick.
01.02.2017, 04:44, "Rick Altherr via openbmc" <[email protected]>:
Quoted 6 lines
Supports:
- BMC console UART
- BMC boot flash
- host boot flash
- host virtual UART (host console)
Have you plans to add support for KVM and Virtual Media through the Aspeed?
I won't be using those in our deployment scenario so adding support for them is low on my list. If you or anyone else is interested in writing drivers for the VGA and USB device peripherals, I'll gladly provide direction and review patches.
Quoted 12 lines · Anton D. Kachalov
Hello, Rick.
01.02.2017, 04:44, "Rick Altherr via openbmc" <[email protected]>:
Quoted 6 lines
Supports:
- BMC console UART
- BMC boot flash
- host boot flash
- host virtual UART (host console)Have you plans to add support for KVM and Virtual Media through the Aspeed?
Hello, I have this on my todo list, but in low prio too. Early I did a proof-of-concept based on Spice and AMI drivers on top of kernel 3.18 (videoengine, usb & hid): https://github.com/ya-mouse/spice-server-aspeedhttps://github.com/ya-mouse/spice-protocol Later I receive example sources for video engine frame decoder (QV & JPEG streams) from Aspeed to implement it under the corresponding license (compatible with Spice). Here is some discussion on Spice-devel: https://lists.freedesktop.org/archives/spice-devel/2015-November/023077.html I plan to start over again a little later using kernel's gadgets and so on. 01.02.2017, 19:41, "Rick Altherr" <[email protected]>:I won't be using those in our deployment scenario so adding support for them is low on my list. If you or anyone else is interested in writing drivers for the VGA and USB device peripherals, I'll gladly provide direction and review patches. On Wed, Feb 1, 2017 at 1:31 AM, Anton D. Kachalov <[email protected]> wrote:Hello, Rick.
01.02.2017, 04:44, "Rick Altherr via openbmc" <[email protected]>:
Quoted 6 lines
Supports:
- BMC console UART
- BMC boot flash
- host boot flash
- host virtual UART (host console)
Have you plans to add support for KVM and Virtual Media through the Aspeed? -- Anton D. Kachalov
ITO, Systems Architect
Tel: 7 (495) 739-70-00 ext.7613
Quoted 7 lines · Rick Altherr via openbmc
Supports:
- BMC console UART
- BMC boot flash
- host boot flash
- host virtual UART (host console)Signed-off-by Rick Altherr <[email protected]>
Thanks, applied to dev-4.7.
Cheers,
Joel
Quoted 150 lines
---
Changes in v2:
- Reserve correct VGA framebuffer location in RAM
- Remove pinctl settings for FLBUSY and FLWP as Q71L uses those pins as GPIOs
- Enable I2C masters used by Q71L
Changes in v3:
- Remove opp prefix from dts filename as this is not an OpenPower machine
Changes in v4:
- Fix commit message noise. Time to go home.--- arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts | 120 +++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 arch/arm/boot/dts/aspeed-bmc-quanta-q71l.dtsarch/arm/boot/dts/aspeed-bmc-quanta-q71l.dts new file +120
-1@@ -0,0 +1,120 @@ +/dts-v1/; + +#include "aspeed-g4.dtsi" +#include <dt-bindings/gpio/aspeed-gpio.h> + +/ { + model = "Quanta Q71L BMC"; + compatible = "quanta,q71l-bmc", "aspeed,ast2400"; + + aliases { + serial4 = &uart5; + }; + + chosen { + stdout-path = &uart5; + bootargs = "console=ttyS4,115200 earlyprintk"; + }; + + memory { + reg = <0x40000000 0x8000000>; + }; + + reserved-memory { + #address-cells = <1>; + #size-cells = <1>; + ranges; + + vga_memory: framebuffer@47800000 { + no-map; + reg = <0x47800000 0x00800000>; /* 8MB */ + }; + }; + + ahb { + bmc_pnor: fmc@1e620000 { + reg = < 0x1e620000 0x94 + 0x20000000 0x02000000 >; + #address-cells = <1>; + #size-cells = <0>; + compatible = "aspeed,ast2400-fmc"; + aspeed,fmc-has-dma; + interrupts = <19>; + flash@0 { + reg = < 0 >; + compatible = "jedec,spi-nor" ; +#include "aspeed-bmc-opp-flash-layout.dtsi" + }; + }; + + host_pnor: spi@1e630000 { + reg = < 0x1e630000 0x18 + 0x30000000 0x01000000 >; + #address-cells = <1>; + #size-cells = <0>; + compatible = "aspeed,ast2400-smc"; + flash { + reg = < 0 >; + compatible = "jedec,spi-nor" ; + label = "pnor"; + }; + }; + }; +}; + +&pinctrl { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_vgahs_default &pinctrl_vgavs_default + &pinctrl_ddcclk_default &pinctrl_ddcdat_default>; +}; + +&mac0 { + status = "okay"; + + use-ncsi; + no-hw-checksum; +}; + +&uart5 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; +}; + +&i2c1 { + status = "okay"; +}; + +&i2c2 { + status = "okay"; +}; + +&i2c3 { + status = "okay"; +}; + +&i2c4 { + status = "okay"; +}; + +&i2c5 { + status = "okay"; +}; + +&i2c6 { + status = "okay"; +}; + +&i2c7 { + status = "okay"; +}; + +&i2c8 { + status = "okay"; +}; + +&vuart { + status = "okay"; +}; --2.11.0.483.g087da7b7c-goog
_______________________________________________
openbmc mailing list
[email protected]
https://lists.ozlabs.org/listinfo/openbmc