Hi all, This patch series combines patches previously introduced in 'MIPS: ath79: update devicetree support for AR9132' and '[RFC v5 00/15] MIPS: ath79: AR9331: add devicetree support' (please see https://www.linux-mips.org/archives/linux-mips/2016-02/msg00473.html and https://www.linux-mips.org/archives/linux-mips/2016-02/msg00317.html respectively). The patch series relies on additional USB support and appended DTB handling patches by Alban Bedel: * https://patchwork.linux-mips.org/patch/11497/ * https://patchwork.linux-mips.org/patch/11495/ * MIPS: OF: Rework the appended DTB handling to keep the PROM arguments ** https://github.com/AlbanBedel/linux/commit/3e1bb5db49a9da1d5d9c90d345fd114f00596c19 * MIPS: ath79: Add support for DTB passed using the UHI boot protocol ** https://github.com/AlbanBedel/linux/commit/b0229b82f84c3e054308eb481d0f4a782fc8ac41 * MIPS: ath79: Remove the builtin DTB support ** https://github.com/AlbanBedel/linux/commit/0b8843b069e525db690c253e03b7a15bc1d1f0df The patch series with Alban's patches and defconfigs is available at github: https://github.com/frantony/linux/tree/20160317.ralf-ath79-dt Changes since RFC v5 and PATCH v1 series: * keep current ath79 pll output clock numbering: (drop ATH79_CLK_REF, use dtc reference 'ref' clock instead); separate out 'MIPS: ath79: introduce <dt-bindings/clock/ath79-clk.h>' patch; * use chipidea,usb2 driver for AR9331 USB host (instead of generic-ehci driver); use regulator-fixed driver for TP-Link MR3020 USB connector VCC control; * get mips_hpt_frequency value from dt, add the appropriate clock parameter to the cpu@0 node; * add short references for wdt@18060008 and spi@1f000000 ar9132.dtsi nodes; * ar9331.dtsi: move usb@1b000100 outside of apb section. * the patch 'MIPS: dts: qca: ar9132: fix typo: "ppl" -> "pll"' is squashed into 'dt-bindings: clock: qca,ath79-pll: fix copy-paste typos' Changes since RFC v4: * AR3132-related patches are postponed; * drivers/clk/clk-ath79.c is rewritten; * DPTechnics DPT-Module board support is added; * TP-LINK MR3020 USB support is added; * gpio polled keys support is added for all boards; * appended DTB is used, so now we can use single vmlinux.bin image for all boards. Changes since RFC v3: * clk: get pll registers base address from devicetree node * MIPS: dts: qca: ar9132: use short references for usb too * MIPS: dts: qca: ar9331: add usb support * MIPS: ath79: Dragino MS14: enable usb support Changes since RFC v2: * add Onion Omega board support; * add AR9132 SoC clock driver; * add AR9132 devicetree fixes. Changes since RFC v1: * add Dragino MS14 board support; * add "ref" oscillator input clock for pll-controller; add necessary nodes to board dts files. Alban Bedel (1): MIPS: ath79: Fix the ar913x reference clock rate Antony Pavlov (16): dt-bindings: clock: qca,ath79-pll: fix copy-paste typos MIPS: dts: qca: ar9132_tl_wr1043nd_v1.dts: drop unused alias node MIPS: dts: qca: ar9132: use short references for dt nodes MIPS: dts: qca: ar9132_tl_wr1043nd_v1.dts: use "ref" for reference clock name MIPS: ath79: introduce <dt-bindings/clock/ath79-clk.h> MIPS: ath79: update devicetree clock support for AR9132 MIPS: ath79: setup.c: disable platform code for OF boards MIPS: dts: qca: introduce AR9331 devicetree MIPS: ath79: update devicetree clock support for AR9331 MIPS: ath79: add initial support for TP-LINK MR3020 devicetree: add Dragino vendor id MIPS: ath79: add initial support for Dragino MS14 (Dragino 2) devicetree: add Onion Corporation vendor id MIPS: ath79: add initial support for Onion Omega devicetree: add DPTechnics vendor id MIPS: ath79: add initial support for DPT-Module Weijie Gao (1): MIPS: ath79: Fix the ar724x clock calculation .../devicetree/bindings/clock/qca,ath79-pll.txt | 6 +- .../devicetree/bindings/vendor-prefixes.txt | 3 + arch/mips/ath79/clock.c | 263 ++++++++++++--------- arch/mips/ath79/setup.c | 51 +++- arch/mips/boot/dts/qca/Makefile | 4 + arch/mips/boot/dts/qca/ar9132.dtsi | 19 +- arch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts | 100 ++++---- arch/mips/boot/dts/qca/ar9331.dtsi | 155 ++++++++++++ arch/mips/boot/dts/qca/ar9331_dpt_module.dts | 78 ++++++ arch/mips/boot/dts/qca/ar9331_dragino_ms14.dts | 102 ++++++++ arch/mips/boot/dts/qca/ar9331_omega.dts | 78 ++++++ arch/mips/boot/dts/qca/ar9331_tl_mr3020.dts | 118 +++++++++ include/dt-bindings/clock/ath79-clk.h | 19 ++ 13 files changed, 812 insertions(+), 184 deletions(-) create mode 100644 arch/mips/boot/dts/qca/ar9331.dtsi create mode 100644 arch/mips/boot/dts/qca/ar9331_dpt_module.dts create mode 100644 arch/mips/boot/dts/qca/ar9331_dragino_ms14.dts create mode 100644 arch/mips/boot/dts/qca/ar9331_omega.dts create mode 100644 arch/mips/boot/dts/qca/ar9331_tl_mr3020.dts create mode 100644 include/dt-bindings/clock/ath79-clk.h Signed-off-by: Antony Pavlov <antonynpavlov@xxxxxxxxx> Cc: Ralf Baechle <ralf@xxxxxxxxxxxxxx> Cc: Alban Bedel <albeu@xxxxxxx> Cc: Marek Vasut <marex@xxxxxxx> Cc: Daniel Schwierzeck <daniel.schwierzeck@xxxxxxxxx> Cc: Yegor Yefremov <yegorslists@xxxxxxxxxxxxxx> -- 2.7.0