summaryrefslogtreecommitdiff
path: root/meta-aspeed
AgeCommit message (Collapse)AuthorFilesLines
2019-10-01linux-aspeed: Wdt dual flash, AST2600 NOR CS1Joel Stanley1-1/+1
Cédric Le Goater (3): mtd: spi-nor: aspeed: fix training of multiple CS on the AST2600 mtd: spi-nor: aspeed: Disable zero size segments on the AST2600 ARM: dts: aspeed: tacoma: Re-enable CS1 Ivan Mikhaylov (1): watchdog: aspeed: add support for dual boot (From meta-aspeed rev: 3369549492bf6b40f90cf14381ffc35e66250639) Change-Id: Ia95b3ba3f1ba8a12d99660a458eb54cd2b1ddf73 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-30meta-aspeed: aspeed-g6: refresh defconfigBrad Bishop1-86/+76
The OpenBMC kernel g5 defconfig supports both g5 and g6. Use the g5 defconfig from the OpenBMC kernel unmodified, to enable kernels with support for a variety of the devices found on the AST2600. (From meta-aspeed rev: b456abfbb3ad8ccb3cad3f100d05f2764f7477cc) Change-Id: I9b9e7f52a5e3d0c042b0e705a3c19228d78f8919 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-27meta-aspeed: add CONFIG_USE_BOOTCOMMAND snippetBrad Bishop3-14/+16
Add a config snippet that sets CONFIG_BOOTCOMMAND to the correct address on 128MiB flashes. This requires a refresh of the u-boot sdk patch we've been carrying such that CONFIG_BOOTCOMMAND is set conditionally if not set previously. (From meta-aspeed rev: 4c8b1d729b5b21c93685cd1b1bdde05afa81f9e8) Change-Id: I7dece4bcee6d68a0367fcf4eafb78f0db3e4e4f8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-27linux-aspeed: AST2600: Pinctrl fixesJoel Stanley1-1/+1
Andrew Jeffery (6): pinctrl: aspeed-g6: Sort pins for sanity pinctrl: aspeed-g6: Fix I2C14 SDA description ARM: dts: aspeed-g6: Fix EMMC function in pinctrl dtsi ARM: dts: aspeed-g6: Add pinctrl properties to MDIO nodes ARM: dts: ast2600-evb: Add pinmux properties for enabled MACs ARM: dts: aspeed-g6: Add missing pinctrl-names property to I2C nodes Johnny Huang (9): pinctrl: aspeed-g6: Fix I3C3/I3C4 pinmux configuration pinctrl: aspeed-g6: Fix UART13 group pinmux pinctrl: aspeed-g6: Rename SD3 to EMMC and rework pin groups pinctrl: aspeed-g6: Add AST2600 I3C1 and I3C2 pinmux config pinctrl: aspeed-g6: Add support for the AST2600 USB pinmux pinctrl: aspeed: Add ASPEED_SB_PINCONF() helper pinctrl: aspeed: Move aspeed_pin_config_map to separate source file pinctrl: aspeed: Use masks to describe pinconf bitfields pinctrl: aspeed-g6: Add AST2600 pinconf support (From meta-aspeed rev: 804acc0d24767e150f25b56379c9664cafdd4b37) Change-Id: I8255855478addca2b659d318e7e6e8eb970608b4 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-26linux-aspeed: AST2600: spi-nor, NCSI clock, RainierJoel Stanley1-1/+1
Andrew Jeffery (6): dt-bindings: clock: Add AST2500 RMII RCLK definitions dt-bindings: clock: Add AST2600 RMII RCLK gate definitions clk: aspeed: Add RMII RCLK gates for both AST2500 MACs clk: ast2600: Add RMII RCLK gates for all four MACs net: ftgmac100: Ungate RCLK for RMII on ASPEED MACs ARM: dts: aspeed: Add RCLK to MAC clocks for RMII interfaces Brad Bishop (9): soc: aspeed: lpc: Add G6 compatible strings ipmi: aspeed-g6: Add compatible strings reset: simple: Add AST2600 compatibility string ARM: dts: aspeed-g6: Add lpc devices ARM: dts: aspeed-g6: Expose SuperIO scratch registers ARM: dts: Add 128MiB OpenBMC flash layout ARM: dts: aspeed: Add Rainier system ARM: dts: aspeed: rainier: Add mac devices ARM: dts: aspeed: rainier: Add i2c devices Cédric Le Goater (12): mtd: spi-nor: Add support for w25q512jv mtd: spi-nor: aspeed: Introduce a field for the AHB physical address mtd: spi-nor: aspeed: Introduce segment operations mtd: spi-nor: aspeed: add initial support for ast2600 mtd: spi-nor: aspeed: Check for disabled segments on the AST2600 mtd: spi-nor: aspeed: Introduce training operations per platform mtd: spi-nor: aspeed: Introduce a HCLK mask for training mtd: spi-nor: aspeed: check upper freq limit when doing training mtd: spi-nor: aspeed: add support for AST2600 training ARM: dts: aspeed-g6: Add FMC and SPI devices ARM: dts: aspeed: rainier: Enable FMC and SPI devices ARM: dts: ast2600-evb: Enable FMC and SPI devices Joel Stanley (3): ARM: dts: aspeed: tacoma: Enable FMC and SPI devices ARM: dts: aspeed: ast2600evb: Use custom flash layout ARM: dts: aspeed: tacoma: Disable CS1 as it is broken (From meta-aspeed rev: 6f2dd84f3f30c9777ce956d5ad56de7d04bb227c) Change-Id: I774fa833665c5d84cf58df5cd7315cadaf56754b Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-26meta-aspeed: g5: drop redundant tune includeBrad Bishop1-11/+0
Anyone using OE-core after 95823b7eab is using the OE-core provided tune and not ours. Drop our redundant tune file. (From meta-aspeed rev: 5894fc514daad03f70ada285a6b37947e1fb116e) Change-Id: Ice99855d7655f926832943f6944279a0d21de5a7 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-25linux-aspeed: Move to 5.3.1Joel Stanley1-2/+2
This includes security and bug fixes from the 5.3.1 stable release. (From meta-aspeed rev: 601bad88ec3dd368bd48ffd16dc1a19519d50365) Change-Id: Ifd55c6d0f6cbb8f7c992023856fb5975ac86bb0f Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-25linux-aspeed: fp5280g2 LEDs, ARMv6K, FSI master classJoel Stanley1-1/+1
Arnd Bergmann (1): ARM: aspeed: ast2500 is ARMv6K Chicago Duan (1): ARM: dts: aspeed: fp5280g2: Add LED configuration Jeremy Kerr (3): fsi: Add fsi-master class fsi: Move master attributes to fsi-master class fsi: Add temporary compatibility symlink (From meta-aspeed rev: c42949991735030039a12243ec8f4e04f4704184) Change-Id: I3ff25be7aadce0b52d5a3824f36ae4ecccaefc85 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-25meta-aspeed: layer.conf: add zeus compatibilityBrad Bishop1-1/+1
OE-core master will be dropping warrior soon; zeus is the next release. (From meta-aspeed rev: 2ff14968cab1d67e3ddc7519034c8ba1c54d5bb7) Change-Id: Ide7752551ef7babd833d70ea8f2be465d14520b8 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-19meta-aspeed: g6: Adjust fit addressBrad Bishop2-5/+24
5b6780e981 changed the u-boot+env size and thus the same fit image address (512KiB) can be used on g6 as on the other aspeed SoCs. Refresh the initial u-boot patch rather than a new one because the original has not yet been accepted upstream. (From meta-aspeed rev: 6aa4aaf66f96acaf84a6c434ddfb3e142c087bf4) Change-Id: I5bcd6468f1578f7f820e3eeeec23d5b3756dca60 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-17linux-aspeed: Move to v5.3Joel Stanley1-3/+3
This moves the OpenBMC kernel to a Linux v5.3 base. There are 120 patches in dev-5.3. Of these, 56 are backported from upstream, leaving 64 out of tree patches. Alexander Amelkin (1): mtd: spi-nor: fix options for mx66l51235f Andrew Jeffery (26): ARM: dts: aspeed: Describe SD controllers ARM: dts: aspeed: Enable first MMC slot on AST2500 EVB ARM: dts: aspeed: Add AST2600 pinmux nodes net: phy: Add mdio-aspeed net: ftgmac100: Add support for DT phy-handle property net: ftgmac100: Select ASPEED MDIO driver for the AST2600 pinctrl: aspeed: Rename pin declaration macros pinctrl: aspeed: Add PIN_DECL_3() helper pinctrl: aspeed: Add multiple pin group support for functions pinctrl: aspeed: Add SIG_DESC_CLEAR() helper pinctrl: aspeed: Add AST2600 pinmux support pinctrl: aspeed: Document existence of deprecated compatibles mmc: sdhci-of-aspeed: Add support for the ASPEED SD controller mmc: sdhci-of-aspeed: Drop redundant assignment to host->clock mmc: sdhci-of-aspeed: Uphold clocks-on post-condition of set_clock() mmc: sdhci-of-aspeed: Allow max-frequency limitation of SDCLK mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS dt-bindings: hwmon: pmbus: Add Maxim MAX31785 documentation pmbus (max31785): Add support for devicetree configuration pmbus (core): One-shot retries for failure to set page pmbus (core): Use driver callbacks in pmbus_get_fan_rate() pmbus (max31785): Wrap all I2C accessors in one-shot failure handlers soc: aspeed: Miscellaneous control interfaces ARM: dts: aspeed: witherspoon: Update max31785 node ARM: dts: aspeed-g5: Expose VGA and SuperIO scratch registers ARM: dts: ast2600-evb: eMMC configuration Andrew Peng (1): ARM: dts: aspeed: Add Lenovo Hr855xg2 BMC Ben Pai (1): ARM: dts: aspeed: Add Mihawk BMC platform Cédric Le Goater (11): mtd: spi-nor: aspeed: use command mode for reads mtd: spi-nor: aspeed: add support for SPI dual IO read mode mtd: spi-nor: aspeed: link controller with the ahb clock mtd: spi-nor: aspeed: optimize read mode mtd: spi-nor: aspeed: limit the maximum SPI frequency /dev/mem: add a devmem kernel parameter to activate the device ARM: dts: aspeed: Add "spi-max-frequency" property mtd: spi-nor: aspeed: introduce a aspeed_smc_default_read() helper mtd: spi-nor: aspeed: clarify 4BYTE address mode mask mtd: spi-nor: aspeed: use memcpy_fromio() to capture the optimization buffer mtd: spi-nor: aspeed: add support for the 4B opcodes David S. Miller (1): ftgmac100: Fix build. Eddie James (4): ARM: dts: aspeed: swift: Change power supplies to version 2 pmbus: (ibm-cffps) Add support for version 2 of the PSU i2c: aspeed: Add AST2600 compatible ARM: dts: aspeed: tacoma: Enable I2C busses Fran Hsu (4): ARM: dts: nuvoton: Add NPCM730 common device tree ARM: dts: nuvoton: Add Quanta GSJ BMC pinctrl ARM: dts: nuvoton: Add Quanta GSJ BMC Device Tree. ARM: dts: nuvoton: Add GPIOs and LEDs to GSJ device tree George Hung (2): dt-binding: edac: add NPCM ECC documentation edac: npcm: Add Nuvoton NPCM7xx EDAC driver Hongwei Zhang (1): ARM: dts: aspeed: Add SGPM pinmux Ivan Mikhaylov (2): ARM: dts: aspeed: vesnin: Add wdt2 with alt-boot option ARM: dts: aspeed: vesnin: Add secondary SPI flash chip Jae Hyun Yoo (11): dt-bindings: Add a document of PECI subsystem peci: Add support for PECI bus driver core dt-bindings: Add a document of PECI adapter driver for ASPEED AST24xx/25xx SoCs peci: Add a PECI adapter driver for Aspeed AST24xx/AST25xx dt-bindings: mfd: Add a document for PECI client MFD mfd: intel-peci-client: Add PECI client MFD driver Documentation: hwmon: Add documents for PECI hwmon client drivers hwmon: Add PECI cputemp driver hwmon: Add PECI dimmtemp driver Add maintainers for the PECI subsystem ARM: dts: aspeed: peci: Add PECI node Joel Stanley (19): ARM: aspeed: Select timer in each SoC ARM: aspeed: Add ASPEED AST2600 architecture ARM: aspeed: Enable SMP boot ARM: configs: aspeed: Refresh defconfigs ARM: configs: aspeed_g5: Enable AST2600 ARM: dts: aspeed: swift: Add eMMC device ARM: dts: aspeed-g4: Add all flash chips ARM; dts: aspeed: mihawk: File should not be executable clk: aspeed: Add SDIO gate clk: aspeed: Move structures to header clk: Add support for AST2600 SoC ARM: dts: aspeed: Add AST2600 and EVB ARM: dts: aspeed-g4: Expose SuperIO scratch registers fsi: Add ast2600 master driver ARM: dts: aspeed-g6: Describe FSI masters ARM: dts: aspeed: ast2600evb: Enable FSI master ARM: dts: aspeed: Add Tacoma machine ARM: config: aspeed: Update defconfigs ARM: dts: aspeed-g6: Add i2c buses John Wang (1): ARM: dts: aspeed: fp5280g2: Fix power supply address Linus Walleij (3): gpio: aspeed: Pass irqchip when adding gpiochip gpio: tqmx86: Pass irqchip when adding gpiochip gpio: Initialize the irqchip valid_mask with a callback Matt Spinler (1): ARM: dts: aspeed: swift: Fix FSI GPIOs Nathan Chancellor (1): pinctrl: aspeed: g6: Remove const specifier from aspeed_g6_sig_expr_set's ctx parameter Oscar A Perez (1): ARM: dts: aspeed-g5: Fixe gpio-ranges upper limit Rashmica Gupta (5): gpio/aspeed: Fix incorrect number of banks gpio: aspeed: Setup irqchip dynamically gpio: aspeed: Use ngpio property from device tree if available gpio: aspeed: Add in ast2600 details to Aspeed driver ARM: dts: aspeed-g6: Add gpio devices Ryan Chen (1): watchdog: aspeed: Add support for AST2600 Tao Ren (3): ARM: dts: aspeed: Add Facebook Minipack BMC ARM: dts: aspeed: Add Facebook Wedge40 BMC ARM: dts: aspeed: Add Facebook Wedge100 BMC Tomer Maimon (15): dt-binding: spi: add NPCM FIU controller spi: npcm-fiu: add NPCM FIU controller driver clk: nuvoton: add npcm750 clock function prototype initialization dt-bindings: i2c: npcm7xx: add binding for i2c controller i2c: npcm: driver for Poleg i2c controller dt-binding: bmc: Add NPCM7xx LPC BPC documentation misc: npcm7xx-lpc-bpc: add NPCM7xx BIOS post code driver dt-binding: bmc: add npcm7xx pci mailbox document misc: mbox: add npcm7xx pci mailbox driver dt-binding: net: document NPCM7xx EMC DT bindings net: npcm: add NPCM7xx Ethernet MAC controller dt-binding: peci: add NPCM PECI documentation peci: npcm: add NPCM PECI driver ARM: configs: add defconfig for Nuvoton NPCM7xx BMC ARM: dts: npcm7xx: Update device tree Vijay Khemka (3): ARM: dts: aspeed: tiogapass: Add VR devices ARM: dts: aspeed: tiogapass: Move battery sensor ARM: dts: aspeed: tiogapass: Add Riser card Wei Yongjun (1): mmc: sdhci-of-aspeed: Fix return value check in aspeed_sdc_probe() William A. Kennington III (1): ARM: configs: aspeed: Enable commonly used network functionality (From meta-aspeed rev: cacd5220e022dbe97ce6679838407565ed5f5df5) Change-Id: Ic30ef008a68198c0e0c5a3764b356b7f7c59b2db Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-16aspeed-u-boot-sdk: Update to latest dev commitJoel Stanley1-1/+1
Chia-Wei, Wang (3): ast2600: add CA7 cache and SRAM parity check ast2600: revise the boot initialization flow wdt: aspeed: fix compile warning Dylan Hung (7): [update] revise memory reservation [debug] apply DDR4 100M setting [update] add config for DDR-400 [update] slower HPLL [update] adjust cpu timer according to the HPLL [update] fine tune DDR-PHY param [fix] fix DDR-PHY training hangup ryan_chen (6): update pcie driver add pcie rc pinctrl add two pcie rc add support two add default pcie at ast2600-evb dts update ast2600 fmc interrupt #no (From meta-aspeed rev: 7daf7145abdd5499da5ebb25f4f214712b596562) Change-Id: I0cf2c21a605683472f9dcdc4516d7c4f5d7858e5 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-11meta-aspeed: Move g6 environmentBrad Bishop2-0/+33
The Aspeed u-boot tree has the g6 environment at 640KiB. Move to 512KiB for easy OpenBMC compatibility. (From meta-aspeed rev: 5b6780e9810f79b352db7ae8c6a352d978ef2cd3) Change-Id: I65a8c799eb1db8756516a4f46098c75ee18751d1 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-11linux-aspeed: AST2600 GPIO supportJoel Stanley1-1/+1
Linus Walleij (1): gpio: aspeed: Pass irqchip when adding gpiochip Rashmica Gupta (6): gpio/aspeed: Fix incorrect number of banks dt-bindings: gpio: aspeed: Update documentation with ast2600 controllers gpio/aspeed: Setup irqchip dynamically gpio/aspeed: Use ngpio property from device tree if available gpio: Add in ast2600 details to Aspeed driver ARM: dts: aspeed-g6: Add gpio devices (From meta-aspeed rev: 3b101c7f2c10b43576e2770bc2eceb860d0f5660) Change-Id: I56b71ef33fc6c941fedc8823cd1c9a3ea135e82c Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-11aspeed: g6: Fix typo in UBOOT_LOADADDRESS lineVernon Mauery1-1/+1
A typo in the UBOOT_LOADADDRESS line for g6 prevented the FIT image from properly be loaded by U-Boot. This change makes sure that the FIT image is properly generated so U-Boot can load it to the right address. Tested: Build, inspected, and booted the FIT image. (From meta-aspeed rev: 12cd1d2b96db78ca4a34751c92d63cb6212228be) Change-Id: Idad7ff047c29699a7cfb80c186e418183ca126f3 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-10linux-aspeed: Move to 5.2.14Joel Stanley1-2/+2
This includes security and bug fixes from the 5.2.12, 5.2.13 and 5.2.14 stable releases. (From meta-aspeed rev: 00d55503b465963ef43b7a52dc05c93ce1cec078) Change-Id: I03164c88f5fe1da9c4ea2bc0b12a3245f74cdab0 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-09linux-aspeed: Vensin alt flash support, swift psu v2Joel Stanley1-1/+1
Eddie James (2): ARM: dts: aspeed: swift: Change power supplies to version 2 pmbus: (ibm-cffps) Add support for version 2 of the PSU Ivan Mikhaylov (2): ARM: dts: aspeed: vesnin: Add wdt2 with alt-boot option ARM: dts: aspeed: vesnin: Add secondary SPI flash chip Joel Stanley (2): ARM: dts: aspeed-g4: Add all flash chips ARM; dts: aspeed: mihawk: File should not be executable Oscar A Perez (1): ARM: dts: aspeed-g5: Fix gpio-ranges upper limit (From meta-aspeed rev: ad85989273a1e9f934f17433959d04f7f13b354f) Change-Id: I3759b4fff70cc45f46eaf0c023888ac9bbfe0316 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-09linux-aspeed: Move to 5.2.11Joel Stanley1-2/+2
This includes security and bug fixes from the 5.2.9, 5.2.10 and 5.2.11 stable releases. (From meta-aspeed rev: 796411974f82c42b7af53b15bc99a7c27cf7605c) Change-Id: Iddbea8fd2def7ccb4fc9bd1520c3b67d63f8b7eb Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-05aspeed-u-boot-sdk: Update to latest dev commitJoel Stanley1-1/+1
Chia-Wei, Wang (1): aspeed: ast2600: add CPU clock initialization Dylan Hung (9): [add] add ECC setting [update] correct the ecc range [fix] fix build error when ASPEED_ECC is off [update] ecc off by default [update] add ECC enable message target margin 0 is legal arg. [fix] fix incorrect DMA base calculation [update] fix 2600 fpga issue. [update] update ast2600 fpga config ryan_chen (8): add otp strap bspi size info add pcie support for evb add for spi aux information disable h2x pcie at default add for h2x add i2c pinctrl add i2c pinctrl update enable ast2600 evb i2c (From meta-aspeed rev: af1e9221445c4932ead0722287873686fe86b399) Change-Id: I1bfcad52dbd0a27f0e753c8c14d22584156f02b5 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-05linux-aspeed: SDHCI fixes and Tacoma machineJoel Stanley1-1/+1
Andrew Jeffery (6): pinctrl: aspeed: Fix spurious mux failures on the AST2500 mmc: sdhci-of-aspeed: Drop redundant assignment to host->clock mmc: sdhci-of-aspeed: Uphold clocks-on post-condition of set_clock() mmc: sdhci-of-aspeed: Allow max-frequency limitation of SDCLK ARM: dts: ast2600-evb: eMMC configuration mmc: sdhci-of-aspeed: Depend on CONFIG_OF_ADDRESS Joel Stanley (1): ARM: dts: aspeed: Add Tacoma machine Wei Yongjun (1): mmc: sdhci-of-aspeed: Fix return value check in aspeed_sdc_probe() (From meta-aspeed rev: 02f7b82e4a48b109d49633358a7d306d9f9efaf8) Change-Id: I31d6b9b91c8845ffb15fbb43d7503d3ee5ac54da Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-04aspeed: g6: sdk: drop kernel recipeBrad Bishop3-113/+0
The SDK kernel recipe is no longer used. Drop. (From meta-aspeed rev: ebcb70ef8ca1aaf74dbd13c6c1cba9591e889f39) Change-Id: I9a41eb3302bfcce9618036d4ed1ebf1525e1afa3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-04aspeed: g6: Use the usual kernelBrad Bishop3-300/+300
Switch g6 to the same kernel as the other supported chips (g4 and g5). (From meta-aspeed rev: f28c73a9f2e0296c1730b88afdc6cf0c836d08fa) Change-Id: I659e535ccb4642438b9c10c48a4850d67b28982b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-09-04meta-aspeed: drop ASPEEDBASEBrad Bishop1-2/+0
This variable is unused. Drop. (From meta-aspeed rev: 283c6db2d5b4dfcfa2c1635f7f4180b2ca07bf9a) Change-Id: I20f37964971717aaa8f79bfb5a7fe381dff5b7e6 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-23linux-aspeed: AST2600 MDIO driverJoel Stanley1-1/+1
Andrew Jeffery (3): net: phy: Add mdio-aspeed net: ftgmac100: Add support for DT phy-handle property net: ftgmac100: Select ASPEED MDIO driver for the AST2600 (From meta-aspeed rev: d43a9b7ca84706b6b62d287a9bbe1f64f956317a) Change-Id: Ief9b513bbbadc0e868673c7d3b4595d64120939d Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-22linux-aspeed: eMMC and ast2600 supportJoel Stanley1-1/+1
Andrew Jeffery (13): dt-bindings: mmc: Document Aspeed SD controller mmc: Add support for the ASPEED SD controller ARM: dts: aspeed: Describe SD controllers pinctrl: aspeed-g5: Delay acquisition of regmaps pinctrl: aspeed: Rename pin declaration macros pinctrl: aspeed: Add PIN_DECL_3() helper pinctrl: aspeed: Add multiple pin group support for functions pinctrl: aspeed: Add SIG_DESC_CLEAR() helper pinctrl: aspeed: Add AST2600 pinmux support pinctrl: aspeed-g6: Fix I2C14 function name typo pinctrl: aspeed-g6: Fix mislabeled PWM groups and functions pinctrl: aspeed-g6: Add EMMC pin group ARM: dts: aspeed: Add AST2600 pinmux nodes Joel Stanley (12): ARM: dts: aspeed: swift: Add eMMC device dt-bindings: watchdog: Add ast2600 compatible clk: aspeed: Move structures to header clk: Add support for AST2600 SoC ARM: aspeed: Select timer in each SoC ARM: aspeed: Add ASPEED AST2600 architecture ARM: aspeed: Enable SMP boot ARM: dts: aspeed: Add AST2600 and EVB ARM: configs: aspeed_g5: Enable AST2600 fsi: Add ast2600 master driver ARM: dts: aspeed-g6: Describe FSI masters ARM: dts: aspeed: ast2600evb: Enable FSI master Ryan Chen (1): watchdog: aspeed: Add support for AST2600 YueHaibing (1): pinctrl: aspeed: Make aspeed_pinmux_ips static (From meta-aspeed rev: 40df7ebc32ddecc28126c3726c79b25fe1b0feb2) Change-Id: I005c90c8106f3857e45ada4ac93456b3665b20b3 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-22linux-aspeed: Move to 5.2.9Joel Stanley1-2/+2
This includes security and bug fixes from the 5.2.9 stable release. (From meta-aspeed rev: 1c40bb93826342f5cc5548c1138ddd5cceec4082) Change-Id: If328eb95f450f4932fb21375b44669a77aa7bf73 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-22aspeed-u-boot-sdk: Bump to latest dev commitJoel Stanley2-34/+2
This includes a fix to the bootm limit issue so the patch can be removed. It also addresses other issues, such as an updated SMP handshake and booting larger kernels. (From meta-aspeed rev: 921779183e3d57dbfddc9179f6b8fc413b453553) Change-Id: I5575ac0a7d0f72fa97b3aa6c580bdacc84ac619d Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-22linux-aspeed: fp5280g2 psu and fsi scom bugfixesJoel Stanley1-1/+1
Eddie James (1): fsi: scom: Don't abort operations for minor errors John Wang (1): ARM: dts: aspeed: fp5280g2: Fix power-supply addr (From meta-aspeed rev: e2e31bef2b742610e6174d0fe31df3667a6a6a00) Change-Id: If24b279669c7a57dc2e632fa63df77cbdd0df08d Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-16aspeed: g6: refresh defconfigBrad Bishop1-6/+7
Pull the latest g6 defconfig from upstream. (From meta-aspeed rev: 1b35d5ceda48ad13b0ec238777e0833f0e7d538b) Change-Id: I14d0c3a02c3989b5eddef32a86e07ad447f6ac70 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-16aspeed: drop g4/g5 UBOOT_MACHINE defaultsBrad Bishop2-4/+0
The u-boot config is a property of the board and not the SOC. Don't set a default in the g4 and g5 include files. This ensures that BSP users explicitly select a uboot config capable of booting the board. (From meta-aspeed rev: 6203fbdba652e2f7943b55b067b2e91247c795e1) Change-Id: I7b07019eb7428d8c38268e8dbed0ff5d05f3a7a2 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-16aspeed: conf: machine: move vuart udev ruleBrad Bishop3-4/+2
Instead of setting MACHINE_EXTRA_RDEPENDS in each SOC specific include file, just set it once in aspeed.inc. Use MACHINE_EXTRA_RRECOMMENDS as the udev rule is definitely not required and should be removable via BAD_RECOMMENDATIONS. (From meta-aspeed rev: 672366760cccfe5bf2e734939ec21c90482e298f) Change-Id: I42091a522b346fe07511e16439438a73d0c9be6c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-16aspeed: machine include cleanupsBrad Bishop4-17/+8
Move most settings from the ast2xxx.inc files to aspeed.inc. This seems to be how other BSPs do it (e.g. meta-freescale) and it keeps everying in one consolidated location for easy perusal, comparison, etc. bitbake will take a different path through it's code while parsing but we wind up with the exact same variable settings in the end. Remove worthless comments from ast2xxx.inc file headers. (From meta-aspeed rev: 456a28202671507ca91b35103a13d3a1dac695db) Change-Id: Id8ed034350761770f5dae4d1a0adecc9bcfea3b5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-16aspeed: g6: use the correct arm core tuneBrad Bishop2-1/+3
Use the correct tune for the g6 arm core: vfpv4d16 (From meta-aspeed rev: 8f80491f1d58fbe94ef1d32aba45789aee549cec) Change-Id: I06b7b982c9064edd7369e947cc9e41e2e39a50ed Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-16aspeed: set SERIAL_CONSOLES correctlyBrad Bishop5-4/+6
Provide a default setting for SERIAL_CONSOLES for all Aspeed SOCs. Set the SERIAL_CONSOLE for the g5 and g6 evb explicitly, in case the default changes. (From meta-aspeed rev: b539e873a7731bad9eee83e17838a78f281d7b4b) Change-Id: I1ee9f44535cd009de25baccacada36cd58ad4f10 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-16aspeed: uboot+kernel mtd image recipeBrad Bishop1-0/+41
Add a simple image-like recipe that concatenates uboot and the kernel into a single image file, suitable for flashing and booting Aspeed boards. There is no root filesystem beyond what is packaged with the kernel. (From meta-aspeed rev: 4fa991532b316daab71ba7b96f2ba099487b3f13) Change-Id: I7a9c26423a0e1db7a4568d00cbabef7b9d22c75a Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-16aspeed: provide suitable kernel build defaultsBrad Bishop2-0/+9
oe-core has these defaults: KERNEL_IMAGETYPE: "zimage" KERNEL_CLASSES: "kernel-uimage" INITRAMFS_IMAGE: "" INITRAMFS_FSTYPES: "cpio.gz" Override those defaults with Aspeed specific defaults that are more appropriate to the current state of typical usage (FIT) of Aspeed chips: KERNEL_IMAGETYPE: "fitImage" KERNEL_CLASSES: "kernel-fitimage" INITRAMFS_IMAGE: "aspeed-image-initramfs" INITRAMFS_FSTYPES: "cpio.xz" By default use aspeed-image-initramfs in the FIT image. aspeed-image-initramfs is just an alias to core-image-minimal. The alias is required because vanilla core-image-minimal is not an initramfs image recipe...in oe, in general, the usage of the image recipe (initramfs or not) is baked into the recipe itself with a line like: IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}" The same behavior *could* be obtained with a bbappend but that then prevents users from using the original image recipe as a real root filesystem image in their setups. Perhaps at a later time a replacement image with an Aspeed hardware evaluation kit theme would be a more suitable default. (From meta-aspeed rev: 7639df3650f6d91c9b533e0287142fdcfbc0b2ea) Change-Id: I51def69bcfd786f4c8aad2ae68376da335aad039 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-14linux-aspeed: Move to 5.2.8Joel Stanley1-2/+2
This includes security and bug fixes from the 5.2.8 stable release. (From meta-aspeed rev: ed265fd68672f724273fee1f40fe491dc864a9cb) Change-Id: Ifdb7f5c68f8175d69bd2c3716a240b0eb70d485d Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-14linux-aspeed: Add MihawkJoel Stanley1-1/+1
Ben Pai (1): ARM: dts: aspeed: Add Mihawk BMC platform (From meta-aspeed rev: 5d8277353761c4c371ff2512e5f4bebf0487f35a) Change-Id: I924f0479d58e544c04fd30bc1cd2da2a472f8ef7 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-13linux-aspeed: Move to 5.2.7Joel Stanley1-2/+2
This includes security and bug fixes from the 5.2.2 through to 5.2.7 stable releases. (From meta-aspeed rev: 69309da3d90ad2adb3daaffe848c3c34b783a760) Change-Id: I8a74bf7227b6c262973f874f62f1ca387c987b15 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-13linux-aspeed: Move to 5.2.1, fix Aspeed i2c and swift FSI GPIOsJoel Stanley1-2/+2
This includes security and bug fixes from the 5.2.1 stable release. The i2c fix removes is required to support existing Qemu models, as we do not yet have buffer mode support in qemu. Joel Stanley (2): i2c: aspeed: Update to v3 of buffer and dma support Revert "ARM: dts: aspeed: add I2C buffer mode support" Matt Spinler (1): ARM: dts: aspeed: swift: Fix FSI GPIOs (From meta-aspeed rev: 514754f760977d44f1131d908e4755c846f61745) Change-Id: Ie618b11b4cdea5a73d79eaefa0bb5b1adc55a05f Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-08-01linux-aspeed-sdk: Add fix for ESPI crashJoel Stanley2-0/+104
This patch has been submitted to aspeed. (From meta-aspeed rev: d537df871b467808a6ff3f08d596f6d9a2f52dde) Change-Id: I6d4e68e275c24b3f5bbbf9b1b836ac2a04e5cd4f Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-07-31linux-aspeed-sdk: g6: Enable UART driverJoel Stanley1-0/+1
The ast2600 device tree uses the DesignWare 8250 compatible, so we need this enabled in order to get a console. (From meta-aspeed rev: 6c75c8c96d409e3419a93c64cac77a766d75fe54) Change-Id: I800cf13c52f1d297ee541daf8ab0db0633d455be Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-07-31linux-aspeed-sdk: g6: Enable HIGHMEM and EARLY_PRINTKJoel Stanley1-1/+6
Highmem is needed for the kernel to be able to use the full 2GB of RAM in the EVB. Earlyprintk is there for debugging boot failures. Enable DETECT_HUNG_TASK for extra debugability. (From meta-aspeed rev: 4f48b871ef98d27540ea526eef215e52dff4a58f) Change-Id: I628b47bdca80efa7be1af3f2ac87a70e701c245a Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-07-31linux-aspeed-sdk: Update to SDK v00.02.01Joel Stanley1-1/+1
(From meta-aspeed rev: d6af3ce42681edb8231e4550073a02cea24621e4) Change-Id: I32fdc45dc1a885c362467d9e6db5a7a794430676 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-07-31u-boot-aspeed: Update to SDK v00.02.01Joel Stanley1-1/+1
(From meta-aspeed rev: fb54525540953435683dcc3bee915123e25a1a8b) Change-Id: I3dcce46f6f18ea9cf24a8b53b6f79a9899e7d6c8 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-07-31aspeed: u-boot: Fix SDK booting on systems with lots of RAMJoel Stanley2-0/+32
This patch is required to boot on the ast2600evb which has 2GB of RAM. It has been submitted to aspeed for inclusion in their tree. (From meta-aspeed rev: 229a6556b33641bdfc770eb9566b3db3ce01354c) Change-Id: Ic2605f6634c82bcf8c1f0d5e166fea88ff7722d4 Signed-off-by: Joel Stanley <joel@jms.id.au> Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
2019-07-29aspeed: Add Aspeed G6/eval configurationBrad Bishop4-1/+18
Add base configuration metadata for the Aspeed AST2600 and its evaluation board. Initially point at the Aspeed SDK until kernel and u-boot support is added upstream. (From meta-aspeed rev: 2f128068bc3b7705071868176624ef19a9000750) Change-Id: Id8636520815a2cf98f8a801f6a2241387e4a8231 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-29aspeed: Add Aspeed SDK recipe for LinuxBrad Bishop2-0/+300
The Aspeed SDK is intended to be used as the basis for Aspeed G6 bringup. (From meta-aspeed rev: c8f6c5e384a9ffc547bb31a25ecb0bfb0a79a61f) Change-Id: Ieef79c3c76017f33d980d8926291abf41363d987 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-27aspeed: Add Aspeed SDK recipes for U-bootBrad Bishop3-0/+62
Start by copying oe-core recipes-bsp/u-boot/ into the Aspeed BSP. The uboot recipes in oe-core master currently point to 2019.07 u-boot and the Aspeed SDK branch being pointed to by this patch is based on uboot upstream 2019.04. There weren't any changes in oe-core going from 2019.04 to 2019.07 so thats OK. After copying the oe-core recipes, fix up SRC_URI, HOMEPAGE, and a couple other variables to point at the Aspeed u-boot fork. The current aspeed-master-v2019.04 tip and evb-ast2600_defconfig will produce a uboot binary but make returns non-zero: CFGCHK u-boot.cfg Error: You must add new CONFIG options using Kconfig The following new ad-hoc CONFIG options were detected: CONFIG_RAM Please add these via Kconfig instead. Find a suitable Kconfig file and add a 'config' or 'menuconfig' option. make: *** [Makefile:1010: all] Error 1 As such the utility of this recipe is limited until the above issue is addressed. The Aspeed SDK is intended to be the basis for Aspeed G6 bringup. (From meta-aspeed rev: fe03326ee328718a79138062a0db374c0685a9c7) Change-Id: I266dc10dd8549c024ec7012da5e576a2436d195b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2019-07-27aspeed: g5: eval: drop unused variablesBrad Bishop1-5/+1
Leave KMACHINE at the OE-core default. It is only used by the kernel-yocto bitbake class when dealing with kernel source trees like the Yocto kernel fork that include KERNEL_FEATURES metadata right in the source tree. None of the Aspeed trees do that. Don't set FLASH_SIZE. It isn't an OE-core variable and it isn't used anywhere. (From meta-aspeed rev: 798e4360c387b12e6bd190c5e526edc1cd75521d) Change-Id: I4a68fa98108014b8517d0417357060a8fc4e7aae Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>