300-introduce-oxnas-platform.patch 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. --- a/arch/arm/Kconfig
  2. +++ b/arch/arm/Kconfig
  3. @@ -369,6 +369,17 @@ config ARCH_VERSATILE
  4. help
  5. This enables support for ARM Ltd Versatile board.
  6. +config ARCH_OXNAS
  7. + bool "Oxford Semiconductor 815/820/825 NAS SoC"
  8. + select ARCH_REQUIRE_GPIOLIB
  9. + select CLKDEV_LOOKUP
  10. + select GENERIC_CLOCKEVENTS
  11. + select COMMON_CLK
  12. + select MIGHT_HAVE_PCI
  13. + select ARCH_HAS_RESET_CONTROLLER
  14. + help
  15. + This enables support for Oxsemi 815/820/825 NAS SoC
  16. +
  17. config ARCH_AT91
  18. bool "Atmel AT91"
  19. select ARCH_REQUIRE_GPIOLIB
  20. @@ -922,6 +933,8 @@ source "arch/arm/mach-omap2/Kconfig"
  21. source "arch/arm/mach-orion5x/Kconfig"
  22. +source "arch/arm/mach-oxnas/Kconfig"
  23. +
  24. source "arch/arm/mach-picoxcell/Kconfig"
  25. source "arch/arm/mach-pxa/Kconfig"
  26. --- a/arch/arm/Makefile
  27. +++ b/arch/arm/Makefile
  28. @@ -195,6 +195,7 @@ machine-$(CONFIG_ARCH_NSPIRE) += nspire
  29. machine-$(CONFIG_ARCH_OMAP1) += omap1
  30. machine-$(CONFIG_ARCH_OMAP2PLUS) += omap2
  31. machine-$(CONFIG_ARCH_ORION5X) += orion5x
  32. +machine-$(CONFIG_ARCH_OXNAS) += oxnas
  33. machine-$(CONFIG_ARCH_PICOXCELL) += picoxcell
  34. machine-$(CONFIG_ARCH_PXA) += pxa
  35. machine-$(CONFIG_ARCH_QCOM) += qcom
  36. --- a/arch/arm/boot/dts/Makefile
  37. +++ b/arch/arm/boot/dts/Makefile
  38. @@ -352,6 +352,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += orion5x-la
  39. orion5x-lacie-ethernet-disk-mini-v2.dtb \
  40. orion5x-maxtor-shared-storage-2.dtb \
  41. orion5x-rd88f5182-nas.dtb
  42. +dtb-$(CONFIG_ARCH_OXNAS) += ox820-pogoplug-pro.dtb
  43. dtb-$(CONFIG_ARCH_PRIMA2) += prima2-evb.dtb
  44. dtb-$(CONFIG_ARCH_QCOM) += \
  45. qcom-apq8064-cm-qs600.dtb \
  46. --- a/arch/arm/tools/mach-types
  47. +++ b/arch/arm/tools/mach-types
  48. @@ -228,6 +228,7 @@ edb9302a MACH_EDB9302A EDB9302A 1127
  49. edb9307a MACH_EDB9307A EDB9307A 1128
  50. omap_3430sdp MACH_OMAP_3430SDP OMAP_3430SDP 1138
  51. vstms MACH_VSTMS VSTMS 1140
  52. +ox820 MACH_OX820 OX820 1152
  53. micro9m MACH_MICRO9M MICRO9M 1169
  54. bug MACH_BUG BUG 1179
  55. at91sam9263ek MACH_AT91SAM9263EK AT91SAM9263EK 1202
  56. --- a/drivers/clk/Makefile
  57. +++ b/drivers/clk/Makefile
  58. @@ -29,6 +29,7 @@ obj-$(CONFIG_COMMON_CLK_MAX77802) += clk
  59. obj-$(CONFIG_ARCH_MOXART) += clk-moxart.o
  60. obj-$(CONFIG_ARCH_NOMADIK) += clk-nomadik.o
  61. obj-$(CONFIG_ARCH_NSPIRE) += clk-nspire.o
  62. +obj-$(CONFIG_ARCH_OXNAS) += clk-oxnas.o
  63. obj-$(CONFIG_COMMON_CLK_PALMAS) += clk-palmas.o
  64. obj-$(CONFIG_CLK_PPC_CORENET) += clk-ppc-corenet.o
  65. obj-$(CONFIG_COMMON_CLK_RK808) += clk-rk808.o