300-introduce-oxnas-platform.patch 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. --- a/arch/arm/Kconfig
  2. +++ b/arch/arm/Kconfig
  3. @@ -603,6 +603,19 @@ 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 ARM_GIC
  9. + select ARCH_REQUIRE_GPIOLIB
  10. + select CLKDEV_LOOKUP
  11. + select GENERIC_CLOCKEVENTS
  12. + select COMMON_CLK
  13. + select MIGHT_HAVE_PCI
  14. + select ARCH_HAS_RESET_CONTROLLER
  15. + help
  16. + This enables support for Oxford 815/820/825 NAS SoC
  17. + later renamed to PLXTECH NAS782x.
  18. +
  19. config ARCH_PXA
  20. bool "PXA2xx/PXA3xx-based"
  21. depends on MMU
  22. @@ -883,6 +896,8 @@ source "arch/arm/mach-omap2/Kconfig"
  23. source "arch/arm/mach-orion5x/Kconfig"
  24. +source "arch/arm/mach-oxnas/Kconfig"
  25. +
  26. source "arch/arm/mach-picoxcell/Kconfig"
  27. source "arch/arm/mach-pxa/Kconfig"
  28. --- a/arch/arm/Makefile
  29. +++ b/arch/arm/Makefile
  30. @@ -200,6 +200,7 @@ machine-$(CONFIG_ARCH_NSPIRE) += nspire
  31. machine-$(CONFIG_ARCH_OMAP1) += omap1
  32. machine-$(CONFIG_ARCH_OMAP2PLUS) += omap2
  33. machine-$(CONFIG_ARCH_ORION5X) += orion5x
  34. +machine-$(CONFIG_ARCH_OXNAS) += oxnas
  35. machine-$(CONFIG_ARCH_PICOXCELL) += picoxcell
  36. machine-$(CONFIG_ARCH_PXA) += pxa
  37. machine-$(CONFIG_ARCH_QCOM) += qcom
  38. --- a/arch/arm/boot/dts/Makefile
  39. +++ b/arch/arm/boot/dts/Makefile
  40. @@ -497,6 +497,7 @@ dtb-$(CONFIG_ARCH_ORION5X) += \
  41. orion5x-lswsgl.dtb \
  42. orion5x-maxtor-shared-storage-2.dtb \
  43. orion5x-rd88f5182-nas.dtb
  44. +dtb-$(CONFIG_ARCH_OXNAS) += ox820-pogoplug-pro.dtb
  45. dtb-$(CONFIG_ARCH_PRIMA2) += \
  46. prima2-evb.dtb
  47. dtb-$(CONFIG_ARCH_QCOM) += \
  48. --- a/arch/arm/tools/mach-types
  49. +++ b/arch/arm/tools/mach-types
  50. @@ -228,6 +228,7 @@ edb9302a MACH_EDB9302A EDB9302A 1127
  51. edb9307a MACH_EDB9307A EDB9307A 1128
  52. omap_3430sdp MACH_OMAP_3430SDP OMAP_3430SDP 1138
  53. vstms MACH_VSTMS VSTMS 1140
  54. +ox820 MACH_OX820 OX820 1152
  55. micro9m MACH_MICRO9M MICRO9M 1169
  56. bug MACH_BUG BUG 1179
  57. at91sam9263ek MACH_AT91SAM9263EK AT91SAM9263EK 1202
  58. --- a/drivers/clk/Makefile
  59. +++ b/drivers/clk/Makefile
  60. @@ -32,6 +32,7 @@ obj-$(CONFIG_ARCH_MB86S7X) += clk-mb86s
  61. obj-$(CONFIG_ARCH_MOXART) += clk-moxart.o
  62. obj-$(CONFIG_ARCH_NOMADIK) += clk-nomadik.o
  63. obj-$(CONFIG_ARCH_NSPIRE) += clk-nspire.o
  64. +obj-$(CONFIG_ARCH_OXNAS) += clk-oxnas.o
  65. obj-$(CONFIG_COMMON_CLK_PALMAS) += clk-palmas.o
  66. obj-$(CONFIG_CLK_QORIQ) += clk-qoriq.o
  67. obj-$(CONFIG_COMMON_CLK_RK808) += clk-rk808.o