Hi garagoyun, thanks for testing, i got my buttons working again i'm not quite sure why the kernel now complains about gpo though this worked in the past. @bodhi it's true that mpp49 is gpio on kirkwood socs but the kernel defines it as gpo for the 88F6282, not sure why but i checked even the freecom sourcecode to be extra sure and poweroff is indeed atached to mpp49. +#ifdefby generik - Debian
Hello garagoyun, your gpio output is slightly different because my gpio_keys stopped workding, if i try to register the driver. it complains about unsupported function on mpp49 kirkwood-pinctrl f1010000.pin-controller: unsupported function gpio on pin mpp49 pinctrl core: failed to register map default (0): invalid type given gpio-keys: probe of gpio_keys failed with error -22 I'mby generik - Debian
Sorry my bad, i missed the fact that mpp7 is gpo while transfering the configuration to the .dts pmx_led_hdd1_red: pmx-led-hdd1-red { marvell,pins = "mpp7"; marvell,function = "gpo"; }; atached devicetree works for me datenhaven /usr/src/linux # cat /sby generik - Debian
Hi there, @garagoyun thanks for the mvCtrlEnvRegs.h pointer this confirms this value, after applying my patch it should be show the actual ddrclk. clock enable_cnt prepare_cnt rate accuracy phase ---------------------------------------------------------------------------------------- cpuclk 2 2 100000by generik - Debian
hi there, great news i fixed the clock issue. it comes down to this function https://github.com/torvalds/linux/blob/master/drivers/clk/mvebu/kirkwood.c#L137 that tries to derive the ddrclk from cpuclk using the sar register value that defines multiplier and devider. unfortunately the 88F6283 uses some undocumented settings here and to my knowledge there are no datasheets for armada 3x0by generik - Debian
Hi there, back in the days, i hold back sharing or pushing the dts upstream because of minor things that are missing, these are: = hdd status leds = there are 4 more leds, hdd1/hdd2 white (activity), hdd1/hdd2 red (fail) hdd1 (red) gpo7 hdd2 (red) gpio13 these should work but need to test. hdd1 (white) gpio15, gpio17 hdd2 (white) gpio14, gpio16 not sure what is going on here,by generik - Debian
Hello there, i'm running this device for years with the mainline kernel myself, maybe i can help out here. as for the cpu frequency the device is based on a armada 310 (88F6283) this is a low power variant of the 88F6282 with only up to 1 GHz cpu clock. http://natisbad.org/NAS/refs/Marvell/armada_310.pdf I would not recommend to overclock since the 88F6282 integrates an heatsink theby generik - Debian