I want to write a linux kernel driver, so i can blink the LD9 LED from the zedboard, or get the state of PB1 and PB2 pushbuttons.
The 2 pushbuttons and the LED goes directly to the processing system (you don't have to configure the PL to get these working, if i'm getting it wright)
I found out (it writes on the silkscreen of the board) that LD9 goes to MIO7 (which can be controlled from BANK0). PB1 goes to MIO50(D13 pin), PB2 goes to MIO51(C10 pin) which can be controlled from BANK1.
I also found that the GPIO is controlled by software through a series of memory mapped registers. But how can i find those registers and their addresses?
The only way to find the addresses is through the Xilinx tools, or there is a datasheet?
I want to access their addresses from the kernel space so i can get the LED blinking or get the state of the pushbuttons. Thanks in advance !