1. 05 3月, 2013 1 次提交
  2. 15 1月, 2013 3 次提交
    • S
      ARM: bcm2835: fix clock node aliasing in device tree · 9692c191
      Stephen Warren 提交于
      Both clock nodes in the current device tree are named "clock" and hence
      end up being the same node. Rename the nodes to different names to avoid
      this. In fact, fixed-clock uses the node name as the clock name, so name
      the nodes after the clock they represent. Move the clocks into a
      "clocks" sub-node to group them and avoid any possible naming conflicts
      with other nodes also named after the device type.
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      9692c191
    • S
      ARM: bcm2835: add I2C controllers to DT · 232fed48
      Stephen Warren 提交于
      The BCM2835 has 3 identical I2C controllers. Instantiate them all in the
      SoC .dtsi file, and enable the relevant two in the Raspberry Pi board
      .dts file.
      
      Note that on the Raspberry Pi Model B revision 1, I2C0 is connected to
      the general-purpose expansion header, and I2C1 is connected to the camera
      connector. Revision 2 of the board swaps these assignments:-(
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      232fed48
    • S
      ARM: bcm2835: add SDHCI node to DT · 5186bf28
      Stephen Warren 提交于
      Add the SDHCI device node to the SoC DT file. Add a dummy fixed-clock
      to satisfy the SDHCI driver's clock lookup; eventually this should be
      replaced by a real clock implementation. Add board specific properties
      to the Raspberry Pi board file.
      Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
      5186bf28
  3. 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
  4. 20 9月, 2012 4 次提交