1. 26 10月, 2012 2 次提交
    • S
      ARM: bcm2835: enable GPIO/pinctrl · 805504ab
      Stephen Warren 提交于
      Enable GPIO and pinctrl in Kconfig.
      
      Add required <mach/gpio.h> for gpiolib.
      
      Instantiate the BCM2835 GPIO module in bcm2835.dtsi.
      
      Add a pinctrl definition to bcm2835-rpi-b.dts that sets up all of the
      board's required pinmux configuration. GPIO aren't specified; that's
      left to gpio_request().
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      Acked-by: NLinus Walleij <linus.walleij@linaro.org>
      805504ab
    • S
      ARM: bcm2835: implement machine restart hook · d0f1c7ff
      Stephen Warren 提交于
      Implement the machine restart hook using the SoC's watchdog timer module.
      To support this, define a DT binding for the watchdog module, and add it
      to the device tree.
      
      The downstream rpi-split branch contains a full watchdog timer driver
      implementation, which also implements the restart hook. However, the
      restart function is largely separate from the watchdog driver, so for
      simplicity, the restart hook is implemented here directly in the main
      machine source file.
      
      Overall structure (separate setup/restart) functions derived from the
      picoxcell ARM support.
      
      Watchdog register IO sequence taken from code by Simon Arlott. Note that
      the watchdog module is not documented in BCM2835-ARM-Peripherals.pdf.
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      d0f1c7ff
  2. 21 10月, 2012 2 次提交
  3. 20 10月, 2012 36 次提交