1. 23 Jun, 2017 1 commit
  2. 21 Nov, 2016 1 commit
    • Tomas Hlavacek's avatar
      Omnia: Add SFP 1000BASE-X noneg mode · 3d2ac3d3
      Tomas Hlavacek authored
      Do major DTS cleanup.
      
      Make PHY modes of eth1 (dual-PHY NIC) consistent. The PHY names are:
      
      * phy-def - matalic build-in ethernet, SGMII mode
      * phy-sfp - SFP cage, 1000BASE-X
      * phy-sfp-noneg - SFP cage, 1000BASE-X forced to link up, 1000/full
      * phy-sfp-sgmii - SFP cage, SGMII mode
      
      Add 1000BASE-X noneg mode:
      Omnia can house certain SFP modules that need the L2 to force 1000BASE-X
      mode without autonegotiation. Add this mode that can by selected by PHY
      select in /sys filesystem.
      3d2ac3d3
  3. 03 Aug, 2016 1 commit
    • Tomas Hlavacek's avatar
      Omnia: Add new WAN PHY mode phy-sgmii-sfp · 66df0b03
      Tomas Hlavacek authored and Michal Hrusecky's avatar Michal Hrusecky committed
      Support multiple fixed PHYs for mvneta. We define more fixed PHYs
      for WAN mvneta in Turris Omnia in order to allow switching between
      SGMII-based SFP modules and 1000Base-X modules.
      
      Add new WAN (=eth1) PHY mode phy-sgmii-sfp to support SGMII-based
      SFP modules.
      
      Just select phy-sgmii-sfp in /sys/.../phy_select to set the mvneta
      L2 to SGMII in-band mode. This is needed for certain SGMII SFP,
      especially the metalic SFP modules. Optic SFP modules are usually
      1000Base-X
      66df0b03
  4. 29 Jun, 2016 1 commit
    • Tomas Hlavacek's avatar
      Omnia: Add kernel LED driver · b3918df9
      Tomas Hlavacek authored and Michal Hrusecky's avatar Michal Hrusecky committed
      Add kernel LED driver for Omnia board/MCU.
      
      The driver implements standard LED interface.
      More to it, the driver adds new files to
      /sys/devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/i2c-1/ \
      1-002b/leds/<name of LED>
      
      The files are
      brightness - the LED interface
      color - R G B code
      autonomous - 1=MCU drives the LED autonomously (default), 0=kernel LED driver
      
      And there is global file
      /sys/devices/platform/soc/soc:internal-regs/f1011000.i2c/i2c-0/i2c-1/ \
      1-002b/global_brightness
      which sets the global brightness via common PWM.
      b3918df9
  5. 10 Jun, 2016 1 commit
    • Tomas Hlavacek's avatar
      Omnia: Add mvneta support for switching PHY · 8d522cfa
      Tomas Hlavacek authored and Michal Hrusecky's avatar Michal Hrusecky committed
      mvneta driver initializes PHY when the NIC is probed and the
      PHY is switched up when the NIC is brought up.
      
      Restructure the PHY handling.
      Add possibility to define more PHYs to in DT and provide the switch in
      sysfs to
      /sys/devices/platform/soc/soc:internal-regs/f1034000.ethernet/net/ \
      eth{0,1,...}/phy_select file.
      
      The switch accepts the name of DT node that describe which PHY should
      be used next time when the NIC is brough up.
      8d522cfa
  6. 11 May, 2016 1 commit
    • Tomas Hlavacek's avatar
      Omnia: Update DTS · 3290905d
      Tomas Hlavacek authored and Michal Hrusecky's avatar Michal Hrusecky committed
      Add MBUS windows for CESA
      Update partitions in SPI flash
      Add IRQs (commented out) to WAN PHY
      Add userspace IRQ representation (GPIO key) from MCU IRQ
      Cleanup debug I2C devices
      Cleanup comments
      3290905d
  7. 18 Dec, 2015 1 commit
  8. 14 Dec, 2015 1 commit
  9. 27 Nov, 2015 1 commit
  10. 11 Nov, 2015 1 commit
    • Tomas Hlavacek's avatar
      Add basic support for TurrisLite · 992fd7dc
      Tomas Hlavacek authored
      Add DTS files and links towards them in Make files.
      There are still some problems: Switch does not work and eMMC fails to detect.
      Missing support for I2C communication with the STM32 microcontroller and
      missing support for I2C devices beind the PCA9547.
      992fd7dc