300-introduce-oxnas-platform.patch 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. --- a/arch/arm/Kconfig
  2. +++ b/arch/arm/Kconfig
  3. @@ -600,6 +600,18 @@ config ARCH_LPC32XX
  4. help
  5. Support for the NXP LPC32XX family of processors
  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 Oxford 815/820/825 NAS SoC
  16. + later renamed to PLXTECH NAS782x.
  17. +
  18. config ARCH_PXA
  19. bool "PXA2xx/PXA3xx-based"
  20. depends on MMU
  21. @@ -898,6 +910,8 @@ source "arch/arm/mach-omap2/Kconfig"
  22. source "arch/arm/mach-orion5x/Kconfig"
  23. +source "arch/arm/mach-oxnas/Kconfig"
  24. +
  25. source "arch/arm/mach-picoxcell/Kconfig"
  26. source "arch/arm/mach-pxa/Kconfig"
  27. --- a/arch/arm/Makefile
  28. +++ b/arch/arm/Makefile
  29. @@ -195,6 +195,7 @@ machine-$(CONFIG_ARCH_NSPIRE) += nspire
  30. machine-$(CONFIG_ARCH_OMAP1) += omap1
  31. machine-$(CONFIG_ARCH_OMAP2PLUS) += omap2
  32. machine-$(CONFIG_ARCH_ORION5X) += orion5x
  33. +machine-$(CONFIG_ARCH_OXNAS) += oxnas
  34. machine-$(CONFIG_ARCH_PICOXCELL) += picoxcell
  35. machine-$(CONFIG_ARCH_PXA) += pxa
  36. machine-$(CONFIG_ARCH_QCOM) += qcom
  37. --- a/arch/arm/boot/dts/Makefile
  38. +++ b/arch/arm/boot/dts/Makefile
  39. @@ -442,6 +442,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += \
  40. orion5x-lacie-ethernet-disk-mini-v2.dtb \
  41. orion5x-maxtor-shared-storage-2.dtb \
  42. orion5x-rd88f5182-nas.dtb
  43. +dtb-$(CONFIG_ARCH_OXNAS) += ox820-pogoplug-pro.dtb
  44. dtb-$(CONFIG_ARCH_PRIMA2) += \
  45. prima2-evb.dtb
  46. dtb-$(CONFIG_ARCH_QCOM) += \
  47. --- a/arch/arm/tools/mach-types
  48. +++ b/arch/arm/tools/mach-types
  49. @@ -228,6 +228,7 @@ edb9302a MACH_EDB9302A EDB9302A 1127
  50. edb9307a MACH_EDB9307A EDB9307A 1128
  51. omap_3430sdp MACH_OMAP_3430SDP OMAP_3430SDP 1138
  52. vstms MACH_VSTMS VSTMS 1140
  53. +ox820 MACH_OX820 OX820 1152
  54. micro9m MACH_MICRO9M MICRO9M 1169
  55. bug MACH_BUG BUG 1179
  56. at91sam9263ek MACH_AT91SAM9263EK AT91SAM9263EK 1202
  57. --- a/drivers/clk/Makefile
  58. +++ b/drivers/clk/Makefile
  59. @@ -32,6 +32,7 @@ obj-$(CONFIG_ARCH_MB86S7X) += clk-mb86s
  60. obj-$(CONFIG_ARCH_MOXART) += clk-moxart.o
  61. obj-$(CONFIG_ARCH_NOMADIK) += clk-nomadik.o
  62. obj-$(CONFIG_ARCH_NSPIRE) += clk-nspire.o
  63. +obj-$(CONFIG_ARCH_OXNAS) += clk-oxnas.o
  64. obj-$(CONFIG_COMMON_CLK_PALMAS) += clk-palmas.o
  65. obj-$(CONFIG_CLK_QORIQ) += clk-qoriq.o
  66. obj-$(CONFIG_COMMON_CLK_RK808) += clk-rk808.o