Skip to content

Socfpga 3.16 #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 201 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
2b77ab6
FogBugz #111740: [PATCHv4 1/7] Integrates Nios II kernel (kernel)
May 14, 2013
43792e7
FogBugz #111740: [PATCHv3 2/7] Integrates Nios II kernel (mm)
May 14, 2013
e45e8de
FogBugz #111740: [PATCHv3 3/7] Integrates Nios II kernel (configs)
May 14, 2013
38ea22f
FogBugz #111740: [PATCHv3 4/7] Integrates Nios II kernel (oprofile,pl…
May 14, 2013
4fa39f8
FogBugz #111740: [PATCHv4 5/7] Integrates Nios II kernel (boot)
May 14, 2013
623348a
FogBugz #111740: [PATCHv4 6/7] Integrates Nios II kernel (include)
May 14, 2013
aec5676
FogBugz #111740: [PATCHv3 7/7] Integrates Nios II kernel (lib)
May 14, 2013
6aa264d
FogBugz #124090: arch/nios2: Port to support kernel v3.8
May 16, 2013
89aa0d2
FogBugz #125829: arch/nios2: Upgrade to v3.9
May 28, 2013
c0cb72b
FogBugz #126924: arch/nios2: Add generic kvm_para.h
May 29, 2013
838d8d7
FogBugz #128540: arch/nios2: Change timer driver to use of_iomap()
Jun 6, 2013
6654c8d
FogBugz #128549: arch/nios2: Include asm-generic/io.h
Jun 6, 2013
26ee874
FogBugz #143817: arch/nios2: Update 3c120 default dts and config
Aug 6, 2013
3f44f23
FogBugz #143478: arch/nios2: Move sysid from arch to drivers
Aug 12, 2013
938ff8d
FogBugz #145411: Upgrade Nios II kernel to v3.10
Aug 13, 2013
79279af
FogBugz #151087: arch/nios2: Removed unused function kernel_execve()
Aug 30, 2013
dd1d6f0
Ported Nios II to support v3.11
Sep 18, 2013
7ffe895
FogBugz #162062: arch/nios2: Add .got section to linker script
Oct 17, 2013
6e5ab1c
FogBugz #163802: arch/nios2: Copy FDT from init memory to regular memory
Oct 25, 2013
edb47be
arch/nios2: Port Nios II to kernel v3.12
Nov 13, 2013
800051a
FogBugz #163821: arch/nios2: Add devtmpfs to defconfig
Oct 25, 2013
2237e30
FogBugz #166446: nios2: move .GOT section after .text section
Nov 7, 2013
e5a41da
FogBugz #172871: Use hardware interrupt instead of virtual interrupt
Dec 11, 2013
b3326f2
FogBugz #175708: nios2: irq: Get mapped IRQ before calling the handler
Jan 2, 2014
169d069
FogBugz #175952: arch/nios2: Cleanup comments
Jan 3, 2014
1dcf66f
FogBugz #175951: nios2: Move the MMU initialization
Jan 6, 2014
c1dd18f
arch/nios2: Port nios2 kernel to v3.13
Jan 24, 2014
f745d4b
FogBugz #180286: Remove NOMMU support from Nios II
Jan 28, 2014
77ae4d0
FogBugz #180349: nios2: timer: Use panic() as error condition
Jan 28, 2014
d60f5b0
FogBugz #180363: nios2: timer: Fix interrupt mapping error check
Jan 28, 2014
8c8890b
FogBugz #180381: nios2: timer: Use CLOCKSOURCE_OF to setup the timer
Jan 28, 2014
938785c
FogBugz #183586: nios2: Use checking for ALTR,pid-num-ways
Feb 13, 2014
ef1738b
FogBugz #184715: nios2: irq: s/unsigned/u32
Feb 19, 2014
0cd41bd
FogBugz #185226: nios2: Simplify current_thread_info() implementation
Feb 20, 2014
4576f9e
FogBugz #183948: Fix Nios II build failure
thloh Feb 28, 2014
47d940e
FogBugz #186973: nios2: Fix warning from cacheflush.h
Feb 27, 2014
39faa0e
FogBugz #194889: nios2: Export symbol __muldi3
Apr 2, 2014
1760f01
nios2: Port to v3.14
Apr 7, 2014
dd83097
FogBugz #196142: nios2: Update TSE in defconfig and dts for 3c120
Apr 10, 2014
70af581
FogBugz #196768: nios2: Update gpio node in 3c120_devboard.dts
Apr 10, 2014
8941ef1
FogBugz #196811: nios2: Remove unused flat.h
Apr 10, 2014
2ba2d36
FogBugz #195229: nios2: Do not modify tlbmisc.PID while modifying TLB
Apr 9, 2014
1ff9c59
FogBugz #196210: nios2: remove unused __uClinux__
Apr 8, 2014
cfa81ff
FogBugz #197544: nios2: update 3c120_defconfig to match hardware
Apr 15, 2014
411f321
FogBugz #190747: nios2 dma mapping review and cleanup
Apr 18, 2014
9fe4a89
FogBugz #198073: nios2: Fix virt_to_phys and phy_to_virt macros
Apr 16, 2014
8a8edf4
FogBugz #196791: nios2: update icache size settings
Apr 16, 2014
fb77246
FogBugz #196797: nios2: Add valid range for dcache size in Kconfig
Apr 16, 2014
c6f9819
FogBugz #195995: nios2: Change default NIOS2_DCACHE_LINE_SIZE
Apr 25, 2014
9c1212b
FogBugz #199159: nios2: fix parentheses warning
Apr 28, 2014
53edcd0
FogBugz #193936: nios2: Fix nios2 compilation warnings
Apr 25, 2014
be21f37
FogBugz #205359: nios2: flushp after write instruction to memory
May 16, 2014
d42e23d
FogBugz #205319: nios2: Use initi and initd to initialize caches
May 16, 2014
478790f
FogBugz #205636: nios2: check exception handler address
May 16, 2014
ba3850f
clk: socfpga: Add a second parent option for the dbg_base_clk
May 28, 2014
4eac7a9
FogBugz #198256: Fix unnecessary USB overcurrent condition
May 22, 2014
bf5ab0a
FogBugz #91445: Fix intermittent data starvation for DMA on SD/MMC
Feb 12, 2013
9963af1
FogBugz #142858: Fix intermittent SD/MMC RFS from not mounting
Aug 2, 2013
abd93f1
FogBugz #184030: mmc: dw_mmc: fix status error for Kingston brand SD …
Mar 26, 2014
67288a4
arm: socfpga: Enable spi and qspi driver for socfpga
Oct 16, 2012
1ebb1c2
FogBugz #79418: Add support for Denali NAND controller
Oct 22, 2012
cba961f
FogBugz #91408: Add GPIO driver to support FPGA PIO
Dec 21, 2012
bfceb18
FogBugz #95976: Altera GPIO soft IP driver
thloh Feb 1, 2013
484820f
FogBugz #110526: Change Linux driver to GPLv2 instead of GPLv3
thloh Mar 27, 2013
d8cf213
FogBugz #123541: GPIO altera gives warning message when used as inter…
thloh May 20, 2013
5446400
FogBugz #121458: Fix irq_set_type to allow edge and level correctly
thloh May 27, 2013
5a5a9b6
FogBugz #128579: Altera GPIO upstream updates
thloh Jan 30, 2014
c91e94c
FogBugz #183984: Do not use _relaxed() function for Altera PIO driver
thloh Apr 1, 2014
0afd4ba
FogBugz #80929: Make CACHE_L2XO a config option.
Oct 22, 2012
235b1ba
FogBugz #97284: Update L2 cache settings
Jan 28, 2013
bd61114
FogBugz #102401: Fix hotplug support for SOCFPGA
Feb 25, 2013
65ebfa4
FogBugz #104179: Fix SCU virtual address mappping
Mar 4, 2013
2119778
FogBugz #106327: Use framework in drivers/base/soc.c for system id
Mar 14, 2013
717acaf
FogBugz #103219: Turn on ARM errata for L2 cache
Feb 28, 2013
d6e36d6
FogBugz #103239: Intermittent loss of ethernet transmission.
Apr 5, 2013
02a6643
FogBugz #108269: Enable PMU through the CTI
Mar 20, 2013
f8baa4d
FogBugz #92330-1: fpga manager framework
Jan 15, 2013
b87994e
FogBugz #92330-2: fpga manager driver for altera fpgas
Jan 15, 2013
66e0624
FogBugz #129257: fpga bridge driver
Jul 11, 2013
428d622
FogBugz #102675: do not touch fpga bridge resets by default
Jul 16, 2013
8bebd53
FogBugz #142060: do not clear the mpuzero bit
Jul 30, 2013
1c62cfa
FogBugz #142126: l3 remap register needs clocks and caching
Jul 31, 2013
b965424
FogBugz #163307: align f2sdram driver with hw support
Oct 23, 2013
bef5e89
FogBugz #165941: FPGA bridge drivers need to be started early
Nov 5, 2013
9166e31
FogBugz #168803: support to configure initial state of bridges
Nov 18, 2013
4e766d3
FogBugz #143478: arch/arm: Move sysid from arch to drivers
Aug 12, 2013
af40bc1
dma: pl330: Add in enhancements for SOCFPGA
Oct 17, 2012
99e7cfc
FogBugz #172665: Sample driver for DMA transfer to FPGA soft IP (FIFO)
Dec 13, 2013
85e275b
FogBugz #163712: Add SDRAM ECC/EDAC support to Altera CycloneV board
Oct 29, 2013
3478d75
FogBugz #165063: SDRAM ECC Error Injection for Testing
Oct 31, 2013
0641ef1
FogBugz #173183: L2 EDAC addition for Altera SOCFPGA.
Dec 13, 2013
13f4e61
FogBugz #173184: Add L2 EDAC error injection for testing.
Dec 18, 2013
d95a3b5
FogBugz #178128: Conditionally enable L2 EDAC.
Jan 16, 2014
92b4c44
FogBugz #173185: OCRAM ECC addition for Altera SOCFPGA.
Dec 19, 2013
92a4c61
FogBugz #180994: Conditionally enable L2 cache ECC on startup
Jan 31, 2014
ddd32be
FogBugz #179457: Abstract EDAC module triggers
Jan 23, 2014
57a4bc1
FogBugz #173188: Add OCRAM ECC Error Injection for testing.
Feb 10, 2014
8993c5e
FogBugz #184650: Cleanup Altera license headers.
Feb 18, 2014
37a487c
FogBugz #184646: Turn on all peripheral clocks for a system reboot
Feb 18, 2014
a0855e3
FogBugz #193022: Fix warning for allmodconfig on socfpga_defconfig
Mar 24, 2014
652e98e
FogBugz #183074: Fix PMU CTI driver for single core systems
Feb 27, 2014
1ec4969
FogBugz #209258: hotplug: put cpu1 in wfi
Jun 4, 2014
f184c36
FogBugz #169918: Map the OCRAM in the device tree file.
Nov 24, 2013
4cfe1c6
FogBugz #119719: Document Cadence QSPI Controller device tree bindings
Jul 24, 2013
4c428d8
FogBugz #99945-2: add gpio-dwapb driver to defconfig and dts
Mar 6, 2014
bcfcbac
FogBugz #195004: Move board specific components to board dts files
Apr 2, 2014
3af6c4c
FogBugz #194611: Configure I2C SDA and SCL parameters
altcrauer Apr 4, 2014
cd34adf
FogBugz #208834: Add SD/MMC card detect
Jun 3, 2014
fa2be43
FogBugz #163905: Support Denali NAND driver on socfpga platform
Oct 28, 2013
b349a58
FogBugz #208682: Denali NAND driver misidentifies Hynix chips
Jun 3, 2014
81d28a1
FogBugz #206007: Fix gpio dts entry for the correct clock
May 29, 2014
e3892d4
FogBugz #169263: Correct the parent clock for l3_sp_clk and dbg_clk
Nov 20, 2013
20761d9
FogBugz #178383: add missing clock gates to socfpga.dtsi
Feb 3, 2014
6aa1db7
FogBugz #84276: lcd driver on i2c
Nov 29, 2012
242b1d9
FogBugz #100586: Set lcd backlight brightness to max
Feb 15, 2013
305603b
FogBugz #102358: i2c newhaven lcd driver uses faulty hyphen
Feb 26, 2013
b3eda1d
tty: newhaven_lcd: Remove devinit and devexit
Jun 17, 2014
9594d22
FogBugz #107683: handle backspace better in lcd driver
Mar 21, 2013
8fd3770
FogBugz #114479: load custom character for backslash
Apr 24, 2013
9e3524b
FogBugz #118160: support tilde character on newhaven lcd module
Apr 25, 2013
22c0cfb
FogBugz #125882: lcd module needs time to process commands.
May 23, 2013
7497f33
FogBugz #101176: add sys entry to set lcd module brightness
May 24, 2013
30dcbd4
FogBugz #98100: designware i2c driver add speed mode in devtree
Jan 31, 2013
1da3da9
FogBugz #177284: add Altera VIP framebuffer driver
altcrauer May 10, 2013
b0be83d
ARM: SOCFPGA: update socfpga_defconfig
Jun 16, 2014
82005b4
FogBugz #111740: [PATCH] Integrates Nios II kernel (FDT)
May 14, 2013
def2911
nios2: Port to v3.15
Jun 19, 2014
2274704
mtd: denali: use 8 bytes for READID command
Jun 23, 2014
50b2b58
This patch is the set of changes to run pl330 DMA on
Jun 19, 2014
126531c
mtd: denali: Need to read the have-hw-ecc-fixup property.
Jun 25, 2014
7bb3038
FogBugz #212185: nios2: define "PG_arch_1" as PG_dcache_clean
Jul 2, 2014
f25cd4e
FogBugz #212187: nios2: Avoid flush_dcache_page() for zero page
Jun 23, 2014
49f94a7
FogBugz #212188: nios2: Flush page regardless of if there is a mapping
Jun 23, 2014
0f7102a
FogBugz #214042: nios2: add nios2 gen2 dts support
Jul 16, 2014
ef30078
FogBugz #138162: Add Altera hardware mutex driver
Jul 25, 2013
89387f8
FogBugz #143451: Fix mutex compatible string
Aug 5, 2013
659aa33
FogBugz #138164: Add Altera mailbox driver
Jul 24, 2013
7399814
FogBugz #141478: Use "linux,mailbox-name" from DTS
Jul 29, 2013
168e7b6
FogBugz #144109: Remove extra lines from license header
Aug 7, 2013
f1c32ba
FogBugz #194497: mailbox: Fixed compilation warning
Apr 3, 2014
242fd3b
FogBugz #178225: Add Altera interrupt latency counter driver
Feb 21, 2014
d560b51
FogBugz #97184: Add Altera SYSID soft IP driver
Feb 5, 2013
3455b8d
FogBugz #109717: Removed unused sysid driver from drivers/misc.
Mar 25, 2013
ad86502
FogBugz #143478: drivers/misc: Move sysid from arch to drivers
Aug 12, 2013
9c8b5ba
Revert "FogBugz #111740: [PATCH] Integrates Nios II kernel (FDT)"
Aug 4, 2014
3438237
usb: dwc2/gadget: fix phy disable sequence
Jul 28, 2014
d4ef555
usb: dwc2/gadget: fix phy initialization sequence
Jul 28, 2014
0fcfdba
usb: dwc2/gadget: move phy bus legth initialization
Jul 28, 2014
be5f510
usb: dwc2/gadget: Fix comment text
Jul 28, 2014
89cb8df
usb: dwc2/gadget: hide some not really needed debug messages
Jul 28, 2014
fae3abc
usb: dwc2/gadget: ensure that all fifos have correct memory buffers
Jul 28, 2014
854e58d
usb: dwc2/gadget: break infinite loop in endpoint disable code
Jul 28, 2014
6d88969
usb: dwc2/gadget: do not call disconnect method in pullup
Jul 28, 2014
811f889
usb: dwc2/gadget: delay enabling irq once hardware is configured prop…
Jul 28, 2014
0495452
usb: dwc2/gadget: assign TX FIFO dynamically
Jul 28, 2014
302002b
usb: dwc2/gadget: disable clock when it's not needed
Jul 28, 2014
81353e0
usb: dwc2/gadget: avoid disabling ep0
Jul 28, 2014
4cd221b
usb: dwc2: add 'mode' which based on Kconfig select or dts setting
keveryang Aug 7, 2014
c981a8b
usb: dwc2: Read GNPTXFSIZ when in forced HOST mode
dianders Aug 8, 2014
2cbf537
usb: dwc2: Update Kconfig to support dual-role
May 14, 2014
32d288d
usb: dwc2: move "samsung,s3c6400-hsotg" into common platform
Jul 24, 2014
19c647f
usb: dwc2: Update the gadget driver to use common dwc2_hsotg structure
May 14, 2014
af363f6
usb: dwc2: Add the appropriate init calls in platform code
May 14, 2014
bdb62de
usb: dwc2: Initialize the USB core for peripheral mode
Jun 25, 2014
fb2d91f
usb: dwc2: Update common interrupt handler to call gadget interrupt h…
Jul 24, 2014
06d2638
usb: dwc2: Add call_gadget functions for perpheral mode interrupts
Jul 24, 2014
ec78149
usb: dwc2: gadget: Do not fail probe if there isn't a clock node
Jun 6, 2014
0be56d9
usb: dwc2: initialize the spin_lock for both host and gadget
Jun 10, 2014
6a689a2
usb: dwc2: Add suspend/resume for gadget
Jun 10, 2014
a9ee73c
usb: dwc2: check that the host work queue is valid
May 14, 2014
067f48c
usb: dwc2: pci: Update pci portion of the dwc2 driver
Jun 19, 2014
5971a81
Add qspi for socfpga.dtsi
Aug 4, 2014
ddcd644
FogBugz #216207: nios2: fix pfn_valid range
Jul 16, 2014
94d8b05
FogBugz #216208: nios2: fix warning from get_fb_unmapped_area
Jul 16, 2014
8a4cd6e
nios2: Port to 3.16
Aug 6, 2014
829b7ac
Merge of 44132140d09af5373ce838a034d35a42fcdd5f01
Oct 16, 2012
b3dba9e
FogBugz #132611-2: Support QSPI flag status register
Jun 28, 2013
5b0a69d
FogBugz #189684-1: Enhance QSPI driver to use common clock framework
Mar 11, 2014
6f0c440
FogBugz #152777: Fix out-of-order QSPI chip select configuration.
Sep 9, 2013
15f961d
mtd: spi-nor: add support for flag status register on Micron chips
Apr 29, 2014
3e12fc6
Set spi_master addr_width parameter in m25p80, needed by Cadence QSPI…
Aug 11, 2014
883a7cb
FogBugz #166244: Compilation error in spi-dw-pl330.c
Nov 6, 2013
12ef95c
FogBugz #166487: Support QSPI device DMA on SoCFPGA
Nov 7, 2013
7e04905
FogBugz #201449: Fix bug found by sparse tool.
May 1, 2014
756bd63
FogBugz #177169: Implement DMA for Cadence QSPI controller.
May 16, 2014
b2fbee5
FogBugz #177169: Use managed device calls for resource mapping
May 19, 2014
a43f685
FogBugz #189684-2: dts part: clean up QSPI entries
Mar 11, 2014
664041f
mtd: m25p80: Add shutdown handler for m25p80 and spi-nor
Aug 12, 2014
ba3412d
mailbox: Introduce a new common API
JassiBrar Apr 26, 2013
04faf0f
mailbox: move the internal definitions into a private file
sumananna May 16, 2013
ee77fff
usb: dwc2: fix usb/ethernet adapter
Aug 13, 2014
46222af
usb: dwc2: cap the max transfer size to 65535
Aug 26, 2014
aea46c2
ARM: socfpga: fix l2 ECC enabling
Aug 27, 2014
43639ae
add arria5 leds
Aug 29, 2014
7ca635e
FogBugz #228949: Add CONFIG_MARVELL_PHY to socfpga_defconfig
Sep 4, 2014
ffeb674
FogBugz #229601: newhaven lcd: fix kbuild test robot warnings
Sep 5, 2014
60604ec
spi: dw: Don't use devm_kzalloc in master->setup callback
AxelLin Aug 31, 2014
73b8057
spi: dw: fix kernel crash due to NULL pointer dereference
andy-shev Aug 27, 2014
d2fe5b8
FogBugz #236669: Add a Kconfig for ILC driver
Oct 9, 2014
14cef3b
FogBugz #237341: fix fetching cpu1start_addr for SMP
Oct 1, 2014
9e70f26
FogBugz #240948: Cadence QSPI needs to have spi-nor framework enabled.
Oct 21, 2014
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions Documentation/devicetree/bindings/arm/altera/fpga-dma.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Altera FPGA DMA FIFO driver

Required properties:
- compatible : "altr,fpga-dma";

- reg : CSR and DATA register resource definitions (address and length).

- reg-names : Names of the register resources. Should be "csr", "data".

- dmas : DMA request lines. Should be <&pdma 0 &pdma 1>

- dma-names : Names of DMA request lines. Should be "tx", "rx".

Example:

fpgadma: fifo {
#address-cells = <1>;
#size-cells = <1>;
compatible = "altr,fpga-dma";
reg = <0xff230000 0x20>, <0xc0011000 0x400>;
reg-names = "csr", "data";
dmas = <&pdma 0 &pdma 1>;
dma-names = "tx", "rx";
};

15 changes: 15 additions & 0 deletions Documentation/devicetree/bindings/arm/altera/socfpga-l2-ecc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Altera SoCFPGA L2 cache Error Detection and Correction [EDAC]

Required Properties:
- compatible : Should be "altr,l2-edac"
- reg : Address and size for ECC error interrupt clear registers.
- interrupts : Should be single bit error interrupt, then double bit error
interrupt. Note the rising edge type.

Example:

l2edac@xffd08140 {
compatible = "altr,l2-edac";
reg = <0xffd08140 0x4>;
interrupts = <0 36 1>, <0 37 1>;
};
14 changes: 14 additions & 0 deletions Documentation/devicetree/bindings/arm/altera/socfpga-l3.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Altera SOCFPGA L3 Interconnect (NIC-301)

Required properties:
- compatible : "altr,l3regs", "syscon";
Note that syscon is invoked for this device to support the FPGA
bridge driver and possibly other devices in the future. See
also Documentation/devicetree/bindings/mfd/syscon.txt
- reg : Should contain 1 register ranges(address and length)

Example:
l3regs@0xff800000 {
compatible = "altr,l3regs", "syscon";
reg = <0xff800000 0x1000>;
};
16 changes: 16 additions & 0 deletions Documentation/devicetree/bindings/arm/altera/socfpga-ocram-ecc.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Altera SoCFPGA On-Chip RAM Error Detection and Correction [EDAC]

OCRAM ECC Required Properties:
- compatible : Should be "altr,ocram-edac"
- reg : Address and size for ECC error interrupt clear registers.
- iram : phandle to On-Chip RAM definition.
- interrupts : Should be single bit error interrupt, then double bit error
interrupt. Note the rising edge type.

Example:
ocramedac@ffd08144 {
compatible = "altr,ocram-edac";
reg = <0xffd08144 0x4>;
iram = <&ocram>;
interrupts = <0 178 1>, <0 179 1>;
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Altera SOCFPGA SDRAM Error Detection & Correction [EDAC]

Required properties:
- compatible : should contain "altr,sdr-edac";
- interrupts : Should contain the SDRAM ECC IRQ in the
appropriate format for the IRQ controller.

Example:
sdramedac@0 {
compatible = "altr,sdram-edac";
interrupts = <0 39 4>;
};
14 changes: 14 additions & 0 deletions Documentation/devicetree/bindings/arm/altera/socfpga-sdram.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Altera SOCFPGA SDRAM Controller

Required properties:
- compatible : "altr,sdr-ctl", "syscon";
Note that syscon is invoked for this device to support the FPGA
bridge driver and possibly other devices in the future. See
also Documentation/devicetree/bindings/mfd/syscon.txt
- reg : Should contain 1 register ranges(address and length)

Example:
sdrctl@0xffc25000 {
compatible = "altr,sdr-ctl", "syscon";
reg = <0xffc25000 0x1000>;
};
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
Altera SOCFPGA System Manager

Required properties:
- compatible : "altr,sys-mgr"
- compatible : "altr,sys-mgr", "syscon";

- reg : Should contain 1 register ranges(address and length)
Note that syscon is invoked for this device. See
also Documentation/devicetree/bindings/mfd/syscon.txt
- cpu1-start-addr : CPU1 start address in hex.

Example:
sysmgr@ffd08000 {
compatible = "altr,sys-mgr";
compatible = "altr,sys-mgr", "syscon";
reg = <0xffd08000 0x1000>;
cpu1-start-addr = <0xffd080c4>;
};
25 changes: 25 additions & 0 deletions Documentation/devicetree/bindings/fpga/altera-fpga-mgr.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Altera FPGA Manager

Required properties:

- compatible : should be "<manufacturer>,<type>"
"altr,fpga-mgr-1.0", "altr,fpga-mgr";

- transport : the interface for register and configuration data.
Currently only memory mapped io is supported, so must be "mmio"

- reg : base address for memory mapped io.
- The first index is for FPGA manager register access.
- The second index is for writing FPGA configuration data.

- interrupts : interrupts for the FPGA Manager device.

Example:

hps_0_fpgamgr: fpgamgr@0xff706000 {
compatible = "altr,fpga-mgr-1.0", "altr,fpga-mgr";
transport = "mmio";
reg = <0xFF706000 0x1000
0xFFB90000 0x1000>;
interrupts = <0 175 4>;
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
Altera FPGA To SDRAM Bridge Driver

This driver manages a bridge between an FPGA and the SDRAM used by an
host processor system (HPS). The bridge contains a number read ports,
write ports, and command ports. Reconfiguring these ports requires
that no SDRAM transactions occur during reconfiguration. In other words,
the code reconfiguring the ports cannot be run out of SDRAM nor can the
FPGA access the SDRAM during the reconfiguration. This driver does not
support reconfiguring the ports. Typcially, the ports are configured by
code running out of onchip ram before Linux is started.

This driver supports enabling and disabling of the configured ports all
at once, which allows for safe reprogramming of the FPGA from user space,
provided the new FPGA image uses the same port configuration.
User space can enable/disable the bridge by writing a "1" or a "0",
respectively, to its enable file under bridge's entry in
/sys/class/fpga-bridge. Typically, one disables the bridges before
reprogramming the FPGA. Once the FPGA is reprogrammed, the bridges
are reenabled.

Required properties:

- compatible : "altr,socfpga-fpga2sdram-bridge"

- read-ports-mask : Bits 0 to 3 corresponds read ports 0 to 3. A
bit set to 1 indicates the corresponding read port should be enabled.

- write-ports-mask : Bits 0 to 3 corresponds write ports 0 to 3. A
bit set to 1 indicates the corresponding write port should be enabled.

- cmd-ports-mask : Bits 0 to 5 correspond to command ports 0 to 5. A
bit set to 1 indicates the corresponding command port should be enabled.

Optional properties:

- label : name that you want this bridge to show up as under
/sys/class/fpga-bridge.
Default is br<device#> if this is not specified

- init-val :0 if driver should disable bridge at startup
1 if driver should enable bridge at startup
driver leaves bridge in current state if property not specified


Example:
fpga2sdram_br: fpgabridge@3 {
compatible = "altr,socfpga-fpga2sdram-bridge";
label = "fpga2sdram";
read-ports-mask = <3>;
write-ports-mask = <3>;
cmd-ports-mask = <0xd>;
init-val = <0>;
};
45 changes: 45 additions & 0 deletions Documentation/devicetree/bindings/fpga/altera-hps2fpga-bridge.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Altera FPGA/HPS Bridge Driver

This driver manages a bridge between a FPGA and a host processor system
(HPS). User space can enable/disable the bridge by writing a "1" or a "0",
respectively, to its enable file under bridge's entry in
/sys/class/fpga-bridge. Typically, one disables the bridges before
reprogramming the FPGA. Once the FPGA is reprogrammed, the bridges
are reenabled.

Required properties:

- compatible : "altr,socfpga-hps2fpga-bridge"
"altr,socfpga-lwhps2fpga-bridge"
"altr,socfpga-fpga2hps-bridge"

- clocks : clocks used by this module

Optional properties:
- label : name that you want this bridge to show up as under
/sys/class/fpga-bridge. Default is br<device#> if this is not specified

- init-val : 0 if driver should disable bridge at startup
1 if driver should enable bridge at startup
driver leaves bridge in current state if property not specified

Example:
hps_fpgabridge0: fpgabridge@0 {
compatible = "altr,socfpga-hps2fpga-bridge";
label = "hps2fpga";
clocks = <&l4_main_clk>;
init-val = <1>;
};

hps_fpgabridge1: fpgabridge@1 {
compatible = "altr,socfpga-lwhps2fpga-bridge";
label = "lwhps2fpga";
clocks = <&l4_main_clk>;
init-val = <0>;
};

hps_fpgabridge2: fpgabridge@2 {
compatible = "altr,socfpga-fpga2hps-bridge";
label = "fpga2hps";
clocks = <&l4_main_clk>;
};
44 changes: 44 additions & 0 deletions Documentation/devicetree/bindings/gpio/gpio-altera.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
Altera GPIO controller bindings

Required properties:
- compatible:
- "altr,pio-1.0"
- reg: Physical base address and length of the controller's registers.
- #gpio-cells : Should be 1
- The first cell is the gpio offset number
- gpio-controller : Marks the device node as a GPIO controller.
- #interrupt-cells : Should be 1.
- The first cell is the GPIO offset number within the GPIO controller.
- interrupts: Specify the interrupt.
- interrupt-controller: Mark the device node as an interrupt controller

Altera GPIO specific required properties:
- altr,interrupt_trigger: Specifies the interrupt trigger type the GPIO
hardware is synthesized. This field is required if the Altera GPIO controller
used has IRQ enabled as the interrupt type is not software controlled,
but hardware synthesized. Required if GPIO is used as an interrupt
controller. The value is defined in <dt-bindings/interrupt-controller/irq.h>
Only the following flags are supported:
IRQ_TYPE_EDGE_RISING
IRQ_TYPE_EDGE_FALLING
IRQ_TYPE_EDGE_BOTH
IRQ_TYPE_LEVEL_HIGH

Altera GPIO specific optional properties:
- altr,gpio-bank-width: Width of the GPIO bank. This defines how many pins the
GPIO device has. Ranges between 1-32. Optional and defaults to 32 is not
specified.

Example:

gpio_altr: gpio@40000 {
compatible = "altr,pio-1.0";
reg = <0xff200000 0x10>;
interrupts = <0 45 4>;
altr,gpio-bank-width = <32>;
altr,interrupt_trigger = <IRQ_TYPE_EDGE_RISING>;
#gpio-cells = <1>;
gpio-controller;
#interrupt-cells = <1>;
interrupt-controller;
};
3 changes: 3 additions & 0 deletions Documentation/devicetree/bindings/i2c/i2c-designware.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Required properties :
Recommended properties :

- clock-frequency : desired I2C bus clock frequency in Hz.
- speed-mode : 0 = standard (0 - 100Kb/s)
: 1 = fast (<= 400Kb/s) <== default

Optional properties :
- i2c-sda-hold-time-ns : should contain the SDA hold time in nanoseconds.
Expand All @@ -29,6 +31,7 @@ Example :
reg = <0xf0000 0x1000>;
interrupts = <11>;
clock-frequency = <400000>;
speed-mode = <1>;
};

i2c@1120000 {
Expand Down
32 changes: 32 additions & 0 deletions Documentation/devicetree/bindings/mailbox/mailbox-altera.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Altera mailbox (simple) soft IP

Required properties:
- compatible : "altr,mailbox-1.0".
- reg : physical base address of the mailbox and length of memory mapped
region.
- linux,mailbox-name : Mailbox instance name

Optional properties:
- interrupt-parent : interrupt source phandle.
- interrupts : interrupt number. The interrupt specifier format depends on the
interrupt controller parent.

The property of "linux,mailbox-name" must be unique. This name will be used as
controller name in driver to identify the controller and the mailbox client will
use this name when requesting a mailbox channel.

Example:
mailbox0: mailbox0@0x100 {
compatible = "altr,mailbox-1.0";
reg = <0x100 0x8>;
interrupt-parent = < &gic_0 >;
interrupts = <5>;
linux,mailbox-name = "mailbox0";
};

Example of mailbox's client node that includes mailbox phandle.
mclient0: mclient0@0x200 {
compatible = "client-1.0";
reg = <0x200 0x10>;
mailbox = <&mailbox0>;
};
22 changes: 22 additions & 0 deletions Documentation/devicetree/bindings/misc/altera-hwmutex.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Altera hardware mutex
Altera hardware mutex can provide hardware assistance for synchronization and
mutual exclusion between processors in asymmetric/symmetric multiprocessing
(AMP/SMP) system or multi processes/threads in uniprocessor system.

Required properties:
- compatible : "altr,mutex-1.0".
- reg : physical base address of the mutex and length of memory mapped
region.

Example:
mutex0: mutex0@0x100 {
compatible = "altr,hwmutex-1.0";
reg = <0x100 0x8>;
};

Example of mutex's client node that includes mutex phandle.
mclient0: mclient0@0x200 {
compatible = "client-1.0";
reg = <0x200 0x10>;
mutex = <&mutex0>;
};
Loading