1. 26 7月, 2019 3 次提交
    • B
      net: davinci_emac: convert to using the driver model · e809285d
      Bartosz Golaszewski 提交于
      Now that we removed all legacy boards selecting TI_EMAC we can
      completely convert the driver code to using the driver model.
      This patch also updates all remaining users of davinci_emac.
      Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com>
      Tested-by: Adam Ford <aford173@gmail.com> #am3517-evm & da850-evm
      Reviewed-by: NRamon Fried <rfried.dev@gmail.com>
      e809285d
    • J
      Add support for the NXP LS1021A-TSN board · 87821220
      Jianchao Wang 提交于
      The LS1021A-TSN is a development board built by VVDN/Argonboards in
      partnership with NXP.
      
      It features the LS1021A SoC and the first-generation SJA1105T Ethernet
      switch for prototyping implementations of a subset of IEEE 802.1 TSN
      standards.
      
      Supported boot media: microSD card (via SPL), QSPI flash.
      
      Rev. A of the board uses a Spansion S25FL512S_256K serial flash, which
      is 64 MB in size and has an erase sector size of 256KB (therefore,
      flashing the RCW would erase part of U-Boot).
      
      Rev. B and C of the board use a Spansion S25FL256S1 serial flash, which
      is only 32 MB in size but has an erase sector size of 64KB (therefore
      the RCW image can be flashed without erasing U-Boot).
      
      To avoid the problems above, the U-Boot base address has been selected
      at 0x100000 (the start of the 5th 256KB erase sector), which works for
      all board revisions. Actually 0x40000 would have been enough, but
      0x100000 is common for all Layerscape devices.
      
      eTSEC3 is connecting directly to SJA1105 via an RGMII fixed-link, but
      SJA1105 is currently not supported by uboot. Therefore, eTSEC3 is
      disabled.
      Signed-off-by: NXiaoliang Yang <xiaoliang.yang_1@nxp.com>
      Signed-off-by: NMingkai Hu <mingkai.hu@nxp.com>
      Signed-off-by: NJianchao Wang <jianchao.wang@nxp.com>
      Signed-off-by: NChangming Huang <jerry.huang@nxp.com>
      Signed-off-by: NVladimir Oltean <olteanv@gmail.com>
      
      [Vladimir] Code taken from https://github.com/openil/u-boot (which
      itself is mostly copied from ls1021a-iot) and adapted with the following
      changes:
      
      - Add a008850 errata workaround
      - Converted eTSEC, MMC to DM to avoid all build warnings
      - Plugged in distro boot feature, including support for extlinux.conf
      - Added defconfig for QSPI boot
      - Added the board/freescale/ls1021atsn/README.rst for initial setup
      - Increased CONFIG_SYS_MONITOR_LEN so that the SPL malloc pool does not
        get overwritten during copying of the u-boot.bin payload from MMC to
        DDR.
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      Reviewed-by: NBin Meng <bmeng.cn@gmail.com>
      87821220
    • B
      arm: ls1021atwr: Convert to use driver model TSEC driver · f588b4d2
      Bin Meng 提交于
      Now that we have added driver model support to the TSEC driver,
      convert ls1021atwr board to use it.
      
      This depends on previous DM series for ls1021atwr:
      http://patchwork.ozlabs.org/patch/561855/Signed-off-by: NBin Meng <bmeng.cn@gmail.com>
      Signed-off-by: NVladimir Oltean <olteanv@gmail.com>
      Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
      
      [Vladimir] Made the following changes:
      - Added 'status = "disabled";' for all Ethernet ports in ls1021a.dtsi
      - Fixed the confusion between the SGMII/TBI PCS for enet0 and enet1 -
        a mistake ported over from Linux. Each SGMII PCS lies on the private
        MDIO bus of the interface (and the RGMII enet2 has no SGMII PCS).
      - Added CONFIG_DM_ETH to all ls1021atwr_* defconfigs
      - Completely removed non-DM_ETH support from ls1021atwr
      - Changed "compatible" string from "fsl,tsec-mdio" to "fsl,etsec2-mdio"
        and from "fsl,tsec" to "fsl,etsec2" to match Linux
      f588b4d2
  2. 24 7月, 2019 1 次提交
  3. 20 7月, 2019 2 次提交
  4. 19 7月, 2019 4 次提交
  5. 18 7月, 2019 1 次提交
  6. 17 7月, 2019 5 次提交
    • A
      board: ti: am654: Use EEPROM-based board detection · 03facc72
      Andreas Dannenberg 提交于
      The TI AM654x EVM base board and the associated daughtercards have on-
      board I2C-based EEPROMs containing board configuration data. Use the
      board detection infrastructure introduced earlier to do the following:
      
      1) Parse the AM654x EVM base board EEPROM and populate items like board
         name and MAC addresses into the TI common EEPROM data structure
         residing in SRAM scratch space
      2) Check for presence of daughter card(s) by probing the associated
         presence signals via an I2C-based GPIO expander. Then, if such a
         card is found, parse the data such as additional Ethernet MAC
         addresses from its on-board EEPROM and populate into U-Boot
         accordingly
      3) Dynamically create an U-Boot ENV variable called overlay_files
         containing a list of daugherboard-specific DTB overlays based on
         daughercards found.
      
      This patch adds support for the AM654x base board ("AM6-COMPROCEVM")
      as well as for the IDK ("AM6-IDKAPPEVM"), OLDI LCD ("OLDI-LCD1EVM")
      PCIe/USB3.0 ("SER-PCIEUSBEVM"), 2 Lane PCIe/USB2.0 ("SER-PCIE2LEVM"),
      and general purpuse ("AM6-GPAPPEVM") daughtercards.
      Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      03facc72
    • A
      ti: common: am6: Add support for setting MAC addresses · 183fa08a
      Andreas Dannenberg 提交于
      The AM654x EVM based on the TI K3 family of SoCs has an updated board
      detection EEPROM structure that contains a TLV record of dedicated MAC
      addresses rather than a range of MAC addresses as it was used on earlier
      platforms such as DRA7. Add a basic function that allows us setting up
      Ethernet MAC addresses into the U-Boot environment based on the MAC
      address record contained in the common TI EEPROM structure.
      Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      183fa08a
    • A
      ti: common: am6: Add support for board description EEPROM · 361a5330
      Andreas Dannenberg 提交于
      The AM654x EVM based on the TI K3 family of SoCs have an updated board
      detection EEPROM structure, now comprising variable-sized TLV-type
      records, containing a superset of what is already being provided on
      earlier platforms such as DRA7. Add basic support for parsing the new
      data structures contained on the base board into the common TI EEPROM
      structure while also providing infrastructure that can be used later on
      to parse data from additional EEPROMs such as the ones that are used on
      daughtercards for this platform.
      Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com>
      Reviewed-by: NLokesh Vutla <lokeshvutla@ti.com>
      361a5330
    • F
      am65x: README: Add eMMC layout and flash instructions · b5d2e298
      Faiz Abbas 提交于
      Add instructions for flashing boot images to the eMMC with a
      layout of the address where each image needs to be flashed.
      
      Also add instructions to flash filesystem partition in user
      partition and boot kernel from the rootfs.
      Signed-off-by: NFaiz Abbas <faiz_abbas@ti.com>
      b5d2e298
    • A
      armV7R: K3: am654: Load SYSFW binary and config from boot media · c222e3d9
      Andreas Dannenberg 提交于
      Use the System Firmware (SYSFW) loader framework to load and start
      the SYSFW as part of the AM654 early initialization sequence. While
      at it also initialize the WKUP_UART0 pinmux as it is used by SYSFW
      to print diagnostic messages.
      Signed-off-by: NAndreas Dannenberg <dannenberg@ti.com>
      c222e3d9
  7. 15 7月, 2019 1 次提交
    • M
      sun8i: h3: Add support for the Beelink-x2 STB · a9e19b8f
      Marcus Cooper 提交于
      The Beelink X2 is an STB based on the Allwinner H3 SoC with a uSD slot,
      2 USB ports( 1 * USB-2 Host, 1 USB OTG), a 10/100M ethernet port using the
      SoC's integrated PHY, Wifi via an sdio wifi chip, HDMI, an IR receiver, a
      dual colour LED and an optical S/PDIF connector.
      
      Linux commit details about the sun8i-h3-beelink-x2.dts sync:
      "ARM: dts: sun8i: h3: Add ethernet0 alias to Beelink X2"
      (sha1: cc4bddade114b696ab27c1a77cfc7040151306da)
      Signed-off-by: NMarcus Cooper <codekipper@gmail.com>
      Reviewed-by: NJagan Teki <jagan@amarulasolutions.com>
      a9e19b8f
  8. 13 7月, 2019 4 次提交
    • A
      ARM: davinci: da850: Manual pinmux only when PINCTRL not available · 877ab242
      Adam Ford 提交于
      With a recent update to the pinctrl-single driver and the fact
      that the da850evm has both DM and OF_CONTROL working in both SPL
      and U-Boot, some of the manual pinmuxing can be setup to only
      be activated when either the driver doesn't have DM for it, or
      when CONFIG_PINMUX isn't available (only during SPL).  If the
      code ever shrinks enough to support PINCTRL in SPL, a lot of this
      can go away.  This also remove some manual pinmuxing not needed
      by SPL to give SPL a little more breathing room.
      Signed-off-by: NAdam Ford <aford173@gmail.com>
      877ab242
    • N
      ARM: am335x: Add phyCORE AM335x R2 support · 6e171b66
      Niel Fourie 提交于
      Support for Phytech phyCORE AM335x R2 SOM (PCL060) on the Phytec
      phyBOARD-Wega AM335x.
      
      CPU  : AM335X-GP rev 2.1
      Model: Phytec AM335x phyBOARD-WEGA
      DRAM:  256 MiB
      NAND:  256 MiB
      MMC:   OMAP SD/MMC: 0
      eth0: ethernet@4a100000
      
      Working:
       - Eth0
       - i2C
       - MMC/SD
       - NAND
       - UART
       - USB (host)
      
      Device trees were taken from Linux mainline:
      commit 37624b58542f ("Linux 5.1-rc7")
      Signed-off-by: NNiel Fourie <lusus@denx.de>
      Signed-off-by: NParthiban Nallathambi <pn@denx.de>
      Reviewed-by: NHeiko Schocher <hs@denx.de>
      Reviewed-by: NTom Rini <trini@konsulko.com>
      Tested-by: NMarek Vasut <marex@denx.de>
      6e171b66
    • D
      ARM: legoev3: convert to driver model · 1d259e4d
      David Lechner 提交于
      This converts LEGO MINDSTORMS EV3 to the driver model. MMC, SERIAL, SPI
      and SPI_FLASH are converted.
      
      The device tree contains only the minimal nodes required by U-Boot
      since the size of U-Boot is limited to 256K on this device.
      Signed-off-by: NDavid Lechner <david@lechnology.com>
      1d259e4d
    • D
      ARM: omap3: evm: Enable DM_USB in defconfig · e74e9f62
      Derald D. Woods 提交于
      This addresses the following warning message:
      
      ===================== WARNING ======================
      This board does not use CONFIG_DM_USB. Please update
      the board to use CONFIG_DM_USB before the v2019.07 release.
      Failure to update by the deadline may result in board removal.
      See doc/driver-model/MIGRATION.txt for more info.
      ====================================================
      
      As USB support for older OMAP3 SoC's improves, OMAP3 EVM can be
      readily adapted. There is some additional 'gpio-hog' support
      needed to fully setup USB in a similar manner to Linux.
      Signed-off-by: NDerald D. Woods <woods.technical@gmail.com>
      e74e9f62
  9. 12 7月, 2019 11 次提交
  10. 11 7月, 2019 8 次提交