Skip to content
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

sense HAT & baud rate settings? #87

Open
mme384 opened this issue Oct 29, 2018 · 2 comments
Open

sense HAT & baud rate settings? #87

mme384 opened this issue Oct 29, 2018 · 2 comments

Comments

@mme384
Copy link

mme384 commented Oct 29, 2018

Hi there

How can I get the sense HAT working with increased I2C baud rate?

I started with an inverted pendulum project were I have a RPI 3 B+, a RPI sense HAT and an Adafruit Motor HAT. I stacked the RPI sense HAT on the GPIOs of the RPI 3 B+ and the Adafruit Motor HAT on the GPIOs of the sense HAT (I use an extra tall stacking header from Adafruit). At I2C default baud rate my stepper motors jerk quite significantly. Thus, I set the I2C baud rate to 1000000 to improve the situation. When I increase the I2C baud rate the sense HAT is not detected and I get the error message below. Actually when I power up the RPI the LEDs of the sense HAT stay on. The Adafruit motor HAT works much better than with the default I2C baud rate (even though not perfect yet).
OSError: Cannot detect RPi-Sense FB device

I set the baud rate with following line in the /boot/config.txt file:
dtparam=i2c_arm_baudrate=1000000

Stacking the sense HAT and the Adafruit Motor HAT works if the default I2C baud rate is set (by uncommenting the above line) and with line below in the boot/config.txt file. So its not a hardware issue. However. I have read in this blog to not use this line.
dtoverlay=rpi-sense

Further details:

Adafruit Motor HAT
https://www.adafruit.com/product/2348

Stepper Motors
https://www.u-buy.ch/en/catalog/product/view/id/1514538/s/stepping-motor-nema-17-stepping-motor-26ncm-36-8oz-in-12v-0-4a-3d-printer-cnc/

Output of command
sudo i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- 1c -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- 46 -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- 5c -- -- 5f
60: 60 -- -- -- -- -- -- -- -- -- 6a -- -- -- -- --
70: 70 -- -- -- -- -- -- --

(I guess 60 & 70 are the motor HAT address. The others are for the sense HAT.)

Output of command
uname -a
Linux raspberrypi 4.14.62-v7+ #1134 SMP Tue Aug 14 17:10:10 BST 2018 armv7l GNU/Linux

Output of command
vcgencmd version
Aug 16 2018 17:30:30
Copyright (c) 2012 Broadcom
version 31e0613622dc2f2463bf3dd74e6c897d91201a4d (clean) (release)

Output of command
sudo dtc -I fs /proc/device-tree
: Warning (unit_address_vs_reg): Node /soc has a reg or ranges property, but no unit name
: Warning (unit_address_vs_reg): Node /soc/vchiq has a reg or ranges property, but no unit name
: Warning (unit_address_vs_reg): Node /soc/gpiomem has a reg or ranges property, but no unit name
: Warning (unit_address_vs_reg): Node /soc/axiperf has a reg or ranges property, but no unit name
: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
: Warning (unit_address_vs_reg): Node /axi/vc_mem has a reg or ranges property, but no unit name
: Warning (avoid_default_addr_size): Relying on default #address-cells value for /axi/vc_mem
: Warning (avoid_default_addr_size): Relying on default #size-cells value for /axi/vc_mem
/dts-v1/;

/ {
compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837";
serial-number = "0000000075c97e61";
model = "Raspberry Pi 3 Model B Plus Rev 1.3";
memreserve = <0x3b400000 0x4c00000>;
interrupt-parent = <0x1>;
#address-cells = <0x1>;
#size-cells = <0x1>;

clocks {
compatible = "simple-bus";
#address-cells = <0x1>;
#size-cells = <0x0>;

clock@3 {
compatible = "fixed-clock";
#clock-cells = <0x0>;
phandle = <0x4>;
reg = <0x3>;
clock-output-names = "osc";
clock-frequency = <0x124f800>;
};

clock@4 {
compatible = "fixed-clock";
#clock-cells = <0x0>;
phandle = <0x17>;
reg = <0x4>;
clock-output-names = "otg";
clock-frequency = <0x1c9c3800>;
};
};

overrides {
pwr_led_gpio = "", "", "", "0gpios:4";
eth_led1 = "", "", "", ".microchip,led-modes:4";
i2c1 = "", "", "", "#status";
i2c_vc = "", "", "", ""status";
sd_overclock = "", "", "", "'brcm,overclock-50:0";
sdio_overclock = "", "", "", "(brcm,overclock-50:0";
i2c0_baudrate = "", "", "", ""clock-frequency:0";
sd_pio_limit = "", "", "", "'brcm,pio-limit:0";
act_led_trigger = "", "", "", "/linux,default-trigger";
audio = "", "", "", "$status";
tx_lpi_timer = "", "", "", ".microchip,tx-lpi-timer:0";
sd_debug = "", "", "", "'brcm,debug";
cache_line_size = [00 00 00 1d 63 61 63 68 65 2d 6c 69 6e 65 2d 73 69 7a 65 3a 30 00];
i2c1_baudrate = "", "", "", "#clock-frequency:0";
spi = "", "", "", "!status";
i2c_arm = "", "", "", "#status";
pwr_led_activelow = "", "", "", "0gpios:8";
uart0 = [00 00 00 1e 73 74 61 74 75 73 00];
i2c2_iknowwhatimdoing = [00 00 00 16 73 74 61 74 75 73 00];
i2s = "", "", "", " status";
eth_led0 = "", "", "", ".microchip,led-modes:0";
i2c0 = "", "", "", ""status";
arm_freq = "", "", "", "*clock-frequency:0", "", "", "", "+clock-frequency:0", "", "", "", ",clock-frequency:0", "", "", "", "-clock-frequency:0";
watchdog = "", "", "", "%status";
i2c_baudrate = "", "", "", "#clock-frequency:0";
i2c_vc_baudrate = "", "", "", ""clock-frequency:0";
axiperf = "", "", "", ")status";
act_led_activelow = "", "", "", "/gpios:8";
i2c2_baudrate = [00 00 00 16 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
sd_force_pio = "", "", "", "'brcm,force-pio?";
pwr_led_trigger = "", "", "", "0linux,default-trigger";
uart1 = [00 00 00 1f 73 74 61 74 75 73 00];
i2c_arm_baudrate = "", "", "", "#clock-frequency:0";
random = "", "", "", "&status";
act_led_gpio = "", "", "", "/gpios:4";
i2c = "", "", "", "#status";
eee = "", "", "", ".microchip,eee-enabled?";
};

system {
linux,serial = <0x0 0x75c97e61>;
linux,revision = <0xa020d3>;
};

symbols {
uart0_gpio14 = "/soc/gpio@7e200000/uart0_gpio14";
pwm = "/soc/pwm@7e20c000";
gpclk1_gpio5 = "/soc/gpio@7e200000/gpclk1_gpio5";
clk_usb = "/clocks/clock@4";
pixelvalve0 = "/soc/pixelvalve@7e206000";
uart0_ctsrts_gpio30 = "/soc/gpio@7e200000/uart0_ctsrts_gpio30";
uart1_ctsrts_gpio16 = "/soc/gpio@7e200000/uart1_ctsrts_gpio16";
uart0_gpio32 = "/soc/gpio@7e200000/uart0_gpio32";
intc = "/soc/interrupt-controller@7e00b200";
spi2 = "/soc/spi@7e2150c0";
jtag_gpio4 = "/soc/gpio@7e200000/jtag_gpio4";
dsi1 = "/soc/dsi@7e700000";
clocks = "/soc/cprman@7e101000";
i2c1 = "/soc/i2c@7e804000";
i2c_vc = "/soc/i2c@7e205000";
firmwarekms = "/soc/firmwarekms@7e600000";
smi = "/soc/smi@7e600000";
uart1_ctsrts_gpio42 = "/soc/gpio@7e200000/uart1_ctsrts_gpio42";
spi0 = "/soc/spi@7e204000";
thermal = "/soc/thermal@7e212000";
vdd_5v0_reg = "/fixedregulator_5v0";
vchiq = "/soc/vchiq";
sdhost = "/soc/mmc@7e202000";
aux = "/soc/aux@0x7e215000";
gpio = "/soc/gpio@7e200000";
gpclk0_gpio4 = "/soc/gpio@7e200000/gpclk0_gpio4";
pwm0_gpio12 = "/soc/gpio@7e200000/pwm0_gpio12";
pwm1_gpio19 = "/soc/gpio@7e200000/pwm1_gpio19";
pwm0_gpio40 = "/soc/gpio@7e200000/pwm0_gpio40";
gpclk2_gpio43 = "/soc/gpio@7e200000/gpclk2_gpio43";
dpi = "/soc/dpi@7e208000";
vcsm = "/soc/vcsm";
v3d = "/soc/v3d@7ec00000";
audio = "/soc/audio";
vdd_3v3_reg = "/fixedregulator_3v3";
uart1_ctsrts_gpio30 = "/soc/gpio@7e200000/uart1_ctsrts_gpio30";
dma = "/soc/dma@7e007000";
spidev1 = "/soc/spi@7e204000/spidev@1";
spi0_gpio35 = "/soc/gpio@7e200000/spi0_gpio35";
vc4 = "/soc/gpu";
pwm1_gpio45 = "/soc/gpio@7e200000/pwm1_gpio45";
cpu3 = "/cpus/cpu@3";
pcm_gpio28 = "/soc/gpio@7e200000/pcm_gpio28";
dpi_gpio0 = "/soc/gpio@7e200000/dpi_gpio0";
power = "/soc/power";
soc = "/soc";
i2c0_gpio0 = "/soc/gpio@7e200000/i2c0_gpio0";
pcm_gpio18 = "/soc/gpio@7e200000/pcm_gpio18";
leds = "/leds";
csi1 = "/soc/csi1@7e801000";
i2s_pins = "/soc/gpio@7e200000/i2s";
firmware = "/soc/firmware";
cpu1 = "/cpus/cpu@1";
mmc = "/soc/mmc@7e300000";
usbphy = "/phy";
pixelvalve1 = "/soc/pixelvalve@7e207000";
spi = "/soc/spi@7e204000";
spi0_pins = "/soc/gpio@7e200000/spi0_pins";
i2c_arm = "/soc/i2c@7e804000";
clk_osc = "/clocks/clock@3";
ethernet = "/soc/usb@7e980000/usb1@1/usb1_1@1/usbether@1";
uart0 = "/soc/serial@7e201000";
pwm1_gpio13 = "/soc/gpio@7e200000/pwm1_gpio13";
i2c1_pins = "/soc/gpio@7e200000/i2c1";
cpu_thermal = "/thermal-zones/cpu-thermal";
fb = "/soc/fb";
pwm1_gpio41 = "/soc/gpio@7e200000/pwm1_gpio41";
sdhost_pins = "/soc/gpio@7e200000/sdhost_gpio48";
dpi_18bit_gpio0 = "/soc/gpio@7e200000/dpi_18bit_gpio0";
spi0_gpio7 = "/soc/gpio@7e200000/spi0_gpio7";
i2c2 = "/soc/i2c@7e805000";
uart1_pins = "/soc/gpio@7e200000/uart1_pins";
i2c1_gpio44 = "/soc/gpio@7e200000/i2c1_gpio44";
i2c0_gpio28 = "/soc/gpio@7e200000/i2c0_gpio28";
i2c_slave_gpio18 = "/soc/gpio@7e200000/i2c_slave_gpio18";
i2s = "/soc/i2s@7e203000";
emmc_gpio48 = "/soc/gpio@7e200000/emmc_gpio48";
spi1 = "/soc/spi@7e215080";
usb = "/soc/usb@7e980000";
dsi0 = "/soc/dsi@7e209000";
i2c1_gpio2 = "/soc/gpio@7e200000/i2c1_gpio2";
expgpio = "/soc/expgpio";
uart0_ctsrts_gpio38 = "/soc/gpio@7e200000/uart0_ctsrts_gpio38";
audio_pins = "/soc/gpio@7e200000/audio_pins";
i2c0 = "/soc/i2c@7e205000";
spi1_gpio16 = "/soc/gpio@7e200000/spi1_gpio16";
i2c0_pins = "/soc/gpio@7e200000/i2c0";
pwr_led = "/leds/pwr";
watchdog = "/soc/watchdog@7e100000";
jtag_gpio22 = "/soc/gpio@7e200000/jtag_gpio22";
spi2_gpio40 = "/soc/gpio@7e200000/spi2_gpio40";
uart0_pins = "/soc/gpio@7e200000/uart0_pins";
vec = "/soc/vec@7e806000";
local_intc = "/soc/local_intc@40000000";
i2c0_gpio44 = "/soc/gpio@7e200000/i2c0_gpio44";
axiperf = "/soc/axiperf";
spi0_cs_pins = "/soc/gpio@7e200000/spi0_cs_pins";
sound = "/soc/sound";
hvs = "/soc/hvs@7e400000";
uart0_ctsrts_gpio16 = "/soc/gpio@7e200000/uart0_ctsrts_gpio16";
act_led = "/leds/act";
gpclk2_gpio6 = "/soc/gpio@7e200000/gpclk2_gpio6";
spidev0 = "/soc/spi@7e204000/spidev@0";
sdhost_gpio48 = "/soc/gpio@7e200000/sdhost_gpio48";
bt_pins = "/soc/gpio@7e200000/bt_pins";
emmc_gpio34 = "/soc/gpio@7e200000/emmc_gpio34";
gpclk1_gpio44 = "/soc/gpio@7e200000/gpclk1_gpio44";
uart1_gpio14 = "/soc/gpio@7e200000/uart1_gpio14";
uart0_gpio36 = "/soc/gpio@7e200000/uart0_gpio36";
sdio_pins = "/soc/gpio@7e200000/sdio_pins";
cpus = "/cpus";
cpu2 = "/cpus/cpu@2";
uart1_gpio32 = "/soc/gpio@7e200000/uart1_gpio32";
hdmi = "/soc/hdmi@7e902000";
pixelvalve2 = "/soc/pixelvalve@7e807000";
pwm0_gpio18 = "/soc/gpio@7e200000/pwm0_gpio18";
gpclk1_gpio42 = "/soc/gpio@7e200000/gpclk1_gpio42";
mailbox = "/soc/mailbox@7e00b880";
uart1_gpio40 = "/soc/gpio@7e200000/uart1_gpio40";
emmc_gpio22 = "/soc/gpio@7e200000/emmc_gpio22";
uart1 = "/soc/serial@7e215040";
csi0 = "/soc/csi0@7e800000";
random = "/soc/rng@7e104000";
i2c = "/soc/i2c@7e804000";
cpu0 = "/cpus/cpu@0";
};

soc {
compatible = "simple-bus";
ranges = <0x7e000000 0x3f000000 0x1000000 0x40000000 0x40000000 0x1000>;
#address-cells = <0x1>;
#size-cells = <0x1>;
phandle = <0x32>;
dma-ranges = <0xc0000000 0x0 0x3f000000>;

serial@7e201000 {
compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
clocks = <0x8 0x13 0x8 0x14>;
clock-names = "uartclk", "apb_pclk";
status = "okay";
interrupts = <0x2 0x19>;
phandle = <0x1e>;
arm,primecell-periphid = <0x241011>;
reg = <0x7e201000 0x1000>;
pinctrl-0 = <0x9 0xa>;
cts-event-workaround;
pinctrl-names = "default";
};

pixelvalve@7e207000 {
compatible = "brcm,bcm2835-pixelvalve1";
status = "disabled";
interrupts = <0x2 0xe>;
phandle = <0x62>;
reg = <0x7e207000 0x100>;
};

cprman@7e101000 {
compatible = "brcm,bcm2835-cprman";
clocks = <0x4 0x5 0x0 0x5 0x1 0x5 0x2 0x6 0x0 0x6 0x1 0x6 0x2>;
firmware = <0x7>;
#clock-cells = <0x1>;
phandle = <0x8>;
reg = <0x7e101000 0x2000>;
};

thermal@7e212000 {
compatible = "brcm,bcm2837-thermal";
clocks = <0x8 0x1b>;
#thermal-sensor-cells = <0x0>;
status = "okay";
phandle = <0x2>;
reg = <0x7e212000 0x8>;
};

hvs@7e400000 {
compatible = "brcm,bcm2835-hvs";
status = "disabled";
interrupts = <0x2 0x1>;
phandle = <0x67>;
reg = <0x7e400000 0x6000>;
};

gpio@7e200000 {
compatible = "brcm,bcm2835-gpio";
gpio-controller;
#interrupt-cells = <0x2>;
interrupts = <0x2 0x11 0x2 0x12>;
phandle = <0x10>;
reg = <0x7e200000 0xb4>;
#gpio-cells = <0x2>;
interrupt-controller;

uart0_gpio14 {
brcm,pins = <0xe 0xf>;
phandle = <0x52>;
brcm,function = <0x4>;
};

gpclk1_gpio5 {
brcm,pins = <0x5>;
phandle = <0x38>;
brcm,function = <0x4>;
};

uart0_ctsrts_gpio30 {
brcm,pins = <0x1e 0x1f>;
phandle = <0x54>;
brcm,function = <0x7>;
};

uart1_ctsrts_gpio16 {
brcm,pins = <0x10 0x11>;
phandle = <0x59>;
brcm,function = <0x2>;
};

uart0_gpio32 {
brcm,pins = <0x20 0x21>;
phandle = <0x55>;
brcm,function = <0x7>;
};

jtag_gpio4 {
brcm,pins = <0x4 0x5 0x6 0xc 0xd>;
phandle = <0x43>;
brcm,function = <0x2>;
};

i2c1 {
brcm,pins = <0x2 0x3>;
phandle = <0x15>;
brcm,function = <0x4>;
};

uart1_ctsrts_gpio42 {
brcm,pins = <0x2a 0x2b>;
phandle = <0x5d>;
brcm,function = <0x2>;
};

gpclk0_gpio4 {
brcm,pins = <0x4>;
phandle = <0x37>;
brcm,function = <0x4>;
};

pwm0_gpio12 {
brcm,pins = <0xc>;
phandle = <0x47>;
brcm,function = <0x4>;
};

pwm1_gpio19 {
brcm,pins = <0x13>;
phandle = <0x4b>;
brcm,function = <0x2>;
};

pwm0_gpio40 {
brcm,pins = <0x28>;
phandle = <0x49>;
brcm,function = <0x4>;
};

gpclk2_gpio43 {
brcm,pins = <0x2b>;
phandle = <0x3c>;
brcm,function = <0x4>;
};

uart1_ctsrts_gpio30 {
brcm,pins = <0x1e 0x1f>;
phandle = <0x5b>;
brcm,function = <0x2>;
};

spi0_gpio35 {
brcm,pins = <0x23 0x24 0x25 0x26 0x27>;
phandle = <0x4f>;
brcm,function = <0x4>;
};

pwm1_gpio45 {
brcm,pins = <0x2d>;
phandle = <0x4d>;
brcm,function = <0x4>;
};

pcm_gpio28 {
brcm,pins = <0x1c 0x1d 0x1e 0x1f>;
phandle = <0x46>;
brcm,function = <0x6>;
};

dpi_gpio0 {
brcm,pins = <0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10 0x11 0x12 0x13 0x14 0x15 0x16 0x17 0x18 0x19 0x1a 0x1b>;
phandle = <0x33>;
brcm,function = <0x6>;
};

i2c0_gpio0 {
brcm,pins = <0x0 0x1>;
phandle = <0x3d>;
brcm,function = <0x4>;
};

pcm_gpio18 {
brcm,pins = <0x12 0x13 0x14 0x15>;
phandle = <0x45>;
brcm,function = <0x4>;
};

spi0_pins {
brcm,pins = <0x9 0xa 0xb>;
phandle = <0xe>;
brcm,function = <0x4>;
};

pwm1_gpio13 {
brcm,pins = <0xd>;
phandle = <0x4a>;
brcm,function = <0x4>;
};

pwm1_gpio41 {
brcm,pins = <0x29>;
phandle = <0x4c>;
brcm,function = <0x4>;
};

dpi_18bit_gpio0 {
brcm,pins = <0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf 0x10 0x11 0x12 0x13 0x14 0x15>;
phandle = <0x5e>;
brcm,function = <0x6>;
};

spi0_gpio7 {
brcm,pins = <0x7 0x8 0x9 0xa 0xb>;
phandle = <0x4e>;
brcm,function = <0x4>;
};

uart1_pins {
brcm,pins;
phandle = <0x13>;
brcm,pull;
brcm,function;
};

i2c1_gpio44 {
brcm,pins = <0x2c 0x2d>;
phandle = <0x41>;
brcm,function = <0x6>;
};

i2c0_gpio28 {
brcm,pins = <0x1c 0x1d>;
phandle = <0x3e>;
brcm,function = <0x4>;
};

i2c_slave_gpio18 {
brcm,pins = <0x12 0x13 0x14 0x15>;
phandle = <0x42>;
brcm,function = <0x7>;
};

i2s {
brcm,pins = <0x12 0x13 0x14 0x15>;
phandle = <0xd>;
brcm,function = <0x4>;
};

emmc_gpio48 {
brcm,pins = <0x30 0x31 0x32 0x33 0x34 0x35>;
phandle = <0x36>;
brcm,function = <0x7>;
};

i2c1_gpio2 {
brcm,pins = <0x2 0x3>;
phandle = <0x40>;
brcm,function = <0x4>;
};

uart0_ctsrts_gpio38 {
brcm,pins = <0x26 0x27>;
phandle = <0x57>;
brcm,function = <0x6>;
};

audio_pins {
brcm,pins = <0x28 0x29>;
phandle = <0x1b>;
brcm,function = <0x4>;
};

i2c0 {
brcm,pins = <0x0 0x1>;
phandle = <0x11>;
brcm,function = <0x4>;
};

spi1_gpio16 {
brcm,pins = <0x10 0x11 0x12 0x13 0x14 0x15>;
phandle = <0x50>;
brcm,function = <0x3>;
};

jtag_gpio22 {
brcm,pins = <0x16 0x17 0x18 0x19 0x1a 0x1b>;
phandle = <0x44>;
brcm,function = <0x3>;
};

spi2_gpio40 {
brcm,pins = <0x28 0x29 0x2a 0x2b 0x2c 0x2d>;
phandle = <0x51>;
brcm,function = <0x3>;
};

uart0_pins {
brcm,pins = <0x1e 0x1f 0x20 0x21>;
phandle = <0x9>;
brcm,pull = <0x2 0x0 0x0 0x2>;
brcm,function = <0x7>;
};

i2c0_gpio44 {
brcm,pins = <0x2c 0x2d>;
phandle = <0x3f>;
brcm,function = <0x5>;
};

spi0_cs_pins {
brcm,pins = <0x8 0x7>;
phandle = <0xf>;
brcm,function = <0x1>;
};

uart0_ctsrts_gpio16 {
brcm,pins = <0x10 0x11>;
phandle = <0x53>;
brcm,function = <0x7>;
};

gpclk2_gpio6 {
brcm,pins = <0x6>;
phandle = <0x3b>;
brcm,function = <0x4>;
};

sdhost_gpio48 {
brcm,pins = <0x30 0x31 0x32 0x33 0x34 0x35>;
phandle = <0xc>;
brcm,function = <0x4>;
};

bt_pins {
brcm,pins = <0x2b>;
phandle = <0xa>;
brcm,pull = <0x0>;
brcm,function = <0x4>;
};

emmc_gpio34 {
brcm,pins = <0x22 0x23 0x24 0x25 0x26 0x27>;
phandle = <0x35>;
brcm,pull = <0x0 0x2 0x2 0x2 0x2 0x2>;
brcm,function = <0x7>;
};

gpclk1_gpio44 {
brcm,pins = <0x2c>;
phandle = <0x3a>;
brcm,function = <0x4>;
};

uart1_gpio14 {
brcm,pins = <0xe 0xf>;
phandle = <0x58>;
brcm,function = <0x2>;
};

uart0_gpio36 {
brcm,pins = <0x24 0x25>;
phandle = <0x56>;
brcm,function = <0x6>;
};

sdio_pins {
brcm,pins = <0x22 0x23 0x24 0x25 0x26 0x27>;
phandle = <0x19>;
brcm,pull = <0x0 0x2 0x2 0x2 0x2 0x2>;
brcm,function = <0x7>;
};

uart1_gpio32 {
brcm,pins = <0x20 0x21>;
phandle = <0x5a>;
brcm,function = <0x2>;
};

pwm0_gpio18 {
brcm,pins = <0x12>;
phandle = <0x48>;
brcm,function = <0x2>;
};

gpclk1_gpio42 {
brcm,pins = <0x2a>;
phandle = <0x39>;
brcm,function = <0x4>;
};

uart1_gpio40 {
brcm,pins = <0x28 0x29>;
phandle = <0x5c>;
brcm,function = <0x2>;
};

emmc_gpio22 {
brcm,pins = <0x16 0x17 0x18 0x19 0x1a 0x1b>;
phandle = <0x34>;
brcm,function = <0x7>;
};
};

pixelvalve@7e807000 {
compatible = "brcm,bcm2835-pixelvalve2";
status = "disabled";
interrupts = <0x2 0xa>;
phandle = <0x6b>;
reg = <0x7e807000 0x100>;
};

v3d@7ec00000 {
power-domains = <0x14 0xa>;
compatible = "brcm,vc4-v3d";
status = "disabled";
interrupts = <0x1 0xa>;
phandle = <0x6e>;
reg = <0x7ec00000 0x1000>;
};

gpu {
compatible = "brcm,bcm2835-vc4";
status = "disabled";
phandle = <0x6f>;
};

mmc@7e300000 {
compatible = "brcm,bcm2835-mmc", "brcm,bcm2835-sdhci";
clocks = <0x8 0x1c>;
status = "okay";
interrupts = <0x2 0x1e>;
brcm,overclock-50 = <0x0>;
bus-width = <0x4>;
dma-names = "rx-tx";
phandle = <0x28>;
reg = <0x7e300000 0x100>;
pinctrl-0 = <0x19>;
dmas = <0xb 0xb>;
non-removable;
pinctrl-names = "default";
};

arm-pmu {
compatible = "arm,cortex-a7-pmu";
interrupt-parent = <0x3>;
interrupts = <0x9>;
};

spi@7e204000 {
compatible = "brcm,bcm2835-spi";
clocks = <0x8 0x14>;
status = "disabled";
#address-cells = <0x1>;
interrupts = <0x2 0x16>;
cs-gpios = <0x10 0x8 0x1 0x10 0x7 0x1>;
#size-cells = <0x0>;
dma-names = "tx", "rx";
phandle = <0x21>;
reg = <0x7e204000 0x1000>;
pinctrl-0 = <0xe 0xf>;
dmas = <0xb 0x6 0xb 0x7>;
pinctrl-names = "default";

spidev@1 {
compatible = "spidev";
#address-cells = <0x1>;
#size-cells = <0x0>;
phandle = <0x60>;
reg = <0x1>;
spi-max-frequency = <0x7735940>;
};

spidev@0 {
compatible = "spidev";
#address-cells = <0x1>;
#size-cells = <0x0>;
phandle = <0x5f>;
reg = <0x0>;
spi-max-frequency = <0x7735940>;
};
};

vchiq {
compatible = "brcm,bcm2835-vchiq";
cache-line-size = <0x40>;
firmware = <0x7>;
interrupts = <0x0 0x2>;
phandle = <0x1d>;
reg = <0x7e00b840 0xf>;
};

i2c@7e804000 {
compatible = "brcm,bcm2835-i2c";
clocks = <0x8 0x14>;
status = "okay";
#address-cells = <0x1>;
interrupts = <0x2 0x15>;
#size-cells = <0x0>;
phandle = <0x23>;
reg = <0x7e804000 0x1000>;
clock-frequency = <0xf4240>;
pinctrl-0 = <0x15>;
pinctrl-names = "default";
};

vcsm {
compatible = "raspberrypi,bcm2835-vcsm";
firmware = <0x7>;
status = "okay";
phandle = <0x73>;
};

audio {
brcm,pwm-channels = <0x8>;
compatible = "brcm,bcm2835-audio";
status = "okay";
phandle = <0x24>;
pinctrl-0 = <0x1b>;
pinctrl-names = "default";
};

i2s@7e203000 {
compatible = "brcm,bcm2835-i2s";
clocks = <0x8 0x1f>;
#sound-dai-cells = <0x0>;
status = "disabled";
dma-names = "tx", "rx";
phandle = <0x20>;
reg = <0x7e203000 0x24>;
pinctrl-0 = <0xd>;
dmas = <0xb 0x2 0xb 0x3>;
pinctrl-names = "default";
};

mailbox@7e00b880 {
compatible = "brcm,bcm2835-mbox";
#mbox-cells = <0x0>;
interrupts = <0x0 0x1>;
phandle = <0x1a>;
reg = <0x7e00b880 0x40>;
};

gpiomem {
compatible = "brcm,bcm2835-gpiomem";
reg = <0x7e200000 0x1000>;
};

vec@7e806000 {
compatible = "brcm,bcm2835-vec";
clocks = <0x8 0x18>;
status = "disabled";
interrupts = <0x2 0x1b>;
phandle = <0x6a>;
reg = <0x7e806000 0x1000>;
};

power {
compatible = "raspberrypi,bcm2835-power";
firmware = <0x7>;
phandle = <0x14>;
#power-domain-cells = <0x1>;
};

pixelvalve@7e206000 {
compatible = "brcm,bcm2835-pixelvalve0";
status = "disabled";
interrupts = <0x2 0xd>;
phandle = <0x61>;
reg = <0x7e206000 0x100>;
};

firmware {
compatible = "raspberrypi,bcm2835-firmware";
mboxes = <0x1a>;
phandle = <0x7>;
};

dsi@7e209000 {
compatible = "brcm,bcm2835-dsi0";
clocks = <0x8 0x20 0x8 0x2f 0x8 0x31>;
clock-names = "phy", "escape", "pixel";
#address-cells = <0x1>;
interrupts = <0x2 0x4>;
#size-cells = <0x0>;
#clock-cells = <0x1>;
phandle = <0x5>;
reg = <0x7e209000 0x78>;
clock-output-names = "dsi0_byte", "dsi0_ddr2", "dsi0_ddr";
};

fb {
compatible = "brcm,bcm2708-fb";
firmware = <0x7>;
status = "okay";
phandle = <0x72>;
};

local_intc@40000000 {
compatible = "brcm,bcm2836-l1-intc";
#interrupt-cells = <0x1>;
interrupt-parent = <0x3>;
phandle = <0x3>;
reg = <0x40000000 0x100>;
interrupt-controller;
};

dpi@7e208000 {
compatible = "brcm,bcm2835-dpi";
clocks = <0x8 0x14 0x8 0x2c>;
clock-names = "core", "pixel";
status = "disabled";
#address-cells = <0x1>;
#size-cells = <0x0>;
phandle = <0x63>;
reg = <0x7e208000 0x8c>;
};

mmc@7e202000 {
compatible = "brcm,bcm2835-sdhost";
clocks = <0x8 0x14>;
brcm,pio-limit = <0x1>;
status = "okay";
interrupts = <0x2 0x18>;
brcm,overclock-50 = <0x0>;
bus-width = <0x4>;
dma-names = "rx-tx";
phandle = <0x27>;
reg = <0x7e202000 0x100>;
pinctrl-0 = <0xc>;
dmas = <0xb 0xd>;
pinctrl-names = "default";
};

expgpio {
compatible = "brcm,bcm2835-expgpio";
gpio-controller;
firmware = <0x7>;
status = "okay";
phandle = <0x1c>;
#gpio-cells = <0x2>;
};

hdmi@7e902000 {
power-domains = <0x14 0x5>;
compatible = "brcm,bcm2835-hdmi";
clocks = <0x8 0x10 0x8 0x19>;
clock-names = "pixel", "hdmi";
ddc = <0x16>;
status = "disabled";
interrupts = <0x2 0x8 0x2 0x9>;
dma-names = "audio-rx";
phandle = <0x6c>;
hpd-gpios = <0x10 0x1c 0x1>;
reg = <0x7e902000 0x600 0x7e808000 0x100>;
dmas = <0xb 0x11>;
};

pwm@7e20c000 {
compatible = "brcm,bcm2835-pwm";
clocks = <0x8 0x1e>;
status = "disabled";
assigned-clock-rates = <0x989680>;
assigned-clocks = <0x8 0x1e>;
phandle = <0x66>;
reg = <0x7e20c000 0x28>;
#pwm-cells = <0x2>;
};

watchdog@7e100000 {
compatible = "brcm,bcm2835-pm-wdt";
phandle = <0x25>;
reg = <0x7e100000 0x28>;
};

interrupt-controller@7e00b200 {
compatible = "brcm,bcm2836-armctrl-ic";
#interrupt-cells = <0x2>;
interrupt-parent = <0x3>;
interrupts = <0x8>;
phandle = <0x1>;
reg = <0x7e00b200 0x200>;
interrupt-controller;
};

dsi@7e700000 {
compatible = "brcm,bcm2835-dsi1";
clocks = <0x8 0x23 0x8 0x30 0x8 0x32>;
clock-names = "phy", "escape", "pixel";
status = "disabled";
#address-cells = <0x1>;
interrupts = <0x2 0xc>;
#size-cells = <0x0>;
#clock-cells = <0x1>;
phandle = <0x6>;
reg = <0x7e700000 0x8c>;
clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";
};

axiperf {
compatible = "brcm,bcm2835-axiperf";
firmware = <0x7>;
status = "disabled";
phandle = <0x29>;
reg = <0x7e009800 0x100 0x7ee08000 0x100>;
};

sound {
status = "disabled";
phandle = <0x74>;
};

i2c@7e205000 {
compatible = "brcm,bcm2835-i2c";
clocks = <0x8 0x14>;
status = "disabled";
#address-cells = <0x1>;
interrupts = <0x2 0x15>;
#size-cells = <0x0>;
phandle = <0x22>;
reg = <0x7e205000 0x1000>;
clock-frequency = <0x186a0>;
pinctrl-0 = <0x11>;
pinctrl-names = "default";
};

serial@7e215040 {
compatible = "brcm,bcm2835-aux-uart";
clocks = <0x12 0x0>;
status = "disabled";
interrupt-parent = <0x12>;
interrupts = <0x0>;
phandle = <0x1f>;
reg = <0x7e215040 0x40>;
pinctrl-0 = <0x13>;
pinctrl-names = "default";
};

dma@7e007000 {
#dma-cells = <0x1>;
compatible = "brcm,bcm2835-dma";
brcm,dma-channel-mask = <0x7f34>;
interrupts = <0x1 0x10 0x1 0x11 0x1 0x12 0x1 0x13 0x1 0x14 0x1 0x15 0x1 0x16 0x1 0x17 0x1 0x18 0x1 0x19 0x1 0x1a 0x1 0x1b 0x1 0x1b 0x1 0x1b 0x1 0x1b 0x1 0x1c>;
phandle = <0xb>;
reg = <0x7e007000 0xf00>;
interrupt-names = "dma0", "dma1", "dma2", "dma3", "dma4", "dma5", "dma6", "dma7", "dma8", "dma9", "dma10", "dma11", "dma12", "dma13", "dma14", "dma-shared-all";
};

i2c@7e805000 {
compatible = "brcm,bcm2835-i2c";
clocks = <0x8 0x14>;
status = "disabled";
#address-cells = <0x1>;
interrupts = <0x2 0x15>;
#size-cells = <0x0>;
phandle = <0x16>;
reg = <0x7e805000 0x1000>;
clock-frequency = <0x186a0>;
};

spi@7e215080 {
compatible = "brcm,bcm2835-aux-spi";
clocks = <0x12 0x1>;
status = "disabled";
interrupt-parent = <0x12>;
#address-cells = <0x1>;
interrupts = <0x1>;
#size-cells = <0x0>;
phandle = <0x64>;
reg = <0x7e215080 0x40>;
};

aux@0x7e215000 {
compatible = "brcm,bcm2835-aux";
clocks = <0x8 0x14>;
#interrupt-cells = <0x1>;
interrupts = <0x1 0x1d>;
#clock-cells = <0x1>;
phandle = <0x12>;
reg = <0x7e215000 0x8>;
interrupt-controller;
};

firmwarekms@7e600000 {
compatible = "raspberrypi,rpi-firmware-kms";
status = "disabled";
interrupts = <0x2 0x10>;
brcm,firmware = <0x7>;
phandle = <0x70>;
reg = <0x7e600000 0x100>;
};

rng@7e104000 {
compatible = "brcm,bcm2835-rng";
interrupts = <0x2 0x1d>;
phandle = <0x26>;
reg = <0x7e104000 0x10>;
};

csi1@7e801000 {
power-domains = <0x14 0xd>;
compatible = "brcm,bcm2835-unicam";
clocks = <0x8 0x2e>;
clock-names = "lp";
status = "disabled";
#address-cells = <0x1>;
interrupts = <0x2 0x7>;
#size-cells = <0x0>;
#clock-cells = <0x1>;
phandle = <0x69>;
reg = <0x7e801000 0x800 0x7e802004 0x4>;

port {

endpoint {
data-lanes = <0x1 0x2>;
};
};
};

csi0@7e800000 {
power-domains = <0x14 0xc>;
compatible = "brcm,bcm2835-unicam";
clocks = <0x8 0x2d>;
clock-names = "lp";
status = "disabled";
#address-cells = <0x1>;
interrupts = <0x2 0x6>;
#size-cells = <0x0>;
#clock-cells = <0x1>;
phandle = <0x68>;
reg = <0x7e800000 0x800 0x7e802000 0x4>;
};

usb@7e980000 {
power-domains = <0x14 0x6>;
compatible = "brcm,bcm2708-usb";
clocks = <0x17>;
clock-names = "otg";
phy-names = "usb2-phy";
#address-cells = <0x1>;
interrupts = <0x2 0x0 0x1 0x9>;
#size-cells = <0x0>;
phandle = <0x6d>;
phys = <0x18>;
reg = <0x7e980000 0x10000 0x7e006000 0x1000>;

usb1@1 {
compatible = "usb424,2514";
#address-cells = <0x1>;
#size-cells = <0x0>;
reg = <0x1>;

usb1_1@1 {
compatible = "usb424,2514";
#address-cells = <0x1>;
#size-cells = <0x0>;
reg = <0x1>;

usbether@1 {
 compatible = "usb424,7800";
 local-mac-address = [b8 27 eb c9 7e 61];
 microchip,tx-lpi-timer = <0x258>;
 microchip,eee-enabled;
 microchip,led-modes = <0x1 0x6>;
 phandle = <0x2e>;
 reg = <0x1>;
};

};
};
};

smi@7e600000 {
compatible = "brcm,bcm2835-smi";
clocks = <0x8 0x2a>;
status = "disabled";
interrupts = <0x2 0x10>;
assigned-clock-rates = <0x7735940>;
dma-names = "rx-tx";
assigned-clocks = <0x8 0x2a>;
phandle = <0x71>;
reg = <0x7e600000 0x100>;
dmas = <0xb 0x4>;
};

spi@7e2150c0 {
compatible = "brcm,bcm2835-aux-spi";
clocks = <0x12 0x2>;
status = "disabled";
interrupt-parent = <0x12>;
#address-cells = <0x1>;
interrupts = <0x2>;
#size-cells = <0x0>;
phandle = <0x65>;
reg = <0x7e2150c0 0x40>;
};
};

leds {
compatible = "gpio-leds";
phandle = <0x78>;

act {
gpios = <0x10 0x1d 0x0>;
label = "led0";
phandle = <0x2f>;
linux,default-trigger = "mmc0";
};

pwr {
gpios = <0x1c 0x2 0x1>;
label = "led1";
phandle = <0x30>;
linux,default-trigger = "default-on";
};
};

aliases {
intc = "/soc/interrupt-controller@7e00b200";
spi2 = "/soc/spi@7e2150c0";
i2c1 = "/soc/i2c@7e804000";
i2c_vc = "/soc/i2c@7e205000";
spi0 = "/soc/spi@7e204000";
thermal = "/soc/thermal@7e212000";
vchiq = "/soc/vchiq";
sdhost = "/soc/mmc@7e202000";
aux = "/soc/aux@0x7e215000";
gpio = "/soc/gpio@7e200000";
mmc1 = "/soc/mmc@7e300000";
audio = "/soc/audio";
dma = "/soc/dma@7e007000";
ethernet0 = "/soc/usb@7e980000/usb1@1/usb1_1@1/usbether@1";
soc = "/soc";
leds = "/leds";
mmc = "/soc/mmc@7e300000";
serial1 = "/soc/serial@7e201000";
i2c_arm = "/soc/i2c@7e804000";
uart0 = "/soc/serial@7e201000";
fb = "/soc/fb";
i2c2 = "/soc/i2c@7e805000";
i2s = "/soc/i2s@7e203000";
spi1 = "/soc/spi@7e215080";
usb = "/soc/usb@7e980000";
i2c0 = "/soc/i2c@7e205000";
watchdog = "/soc/watchdog@7e100000";
axiperf = "/soc/axiperf";
mmc0 = "/soc/mmc@7e202000";
sound = "/soc/sound";
mailbox = "/soc/mailbox@7e00b880";
uart1 = "/soc/serial@7e215040";
random = "/soc/rng@7e104000";
i2c = "/soc/i2c@7e804000";
serial0 = "/soc/serial@7e215040";
};

chosen {
bootargs = "8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=1f54f620-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles";
kaslr-seed = <0x37f4c028 0x8e49ed35>;
};

thermal-zones {

cpu-thermal {
thermal-sensors = <0x2>;
polling-delay = <0x3e8>;
polling-delay-passive = <0x0>;
coefficients = <0xfffffde6 0x64960>;
phandle = <0x31>;

cooling-maps {
};
};
};

timer {
compatible = "arm,armv7-timer";
always-on;
interrupt-parent = <0x3>;
interrupts = <0x0 0x1 0x3 0x2>;
};

memory {
device_type = "memory";
reg = <0x0 0x3b400000>;
};

phy {
compatible = "usb-nop-xceiv";
phandle = <0x18>;
#phy-cells = <0x0>;
};

fixedregulator_3v3 {
compatible = "regulator-fixed";
phandle = <0x77>;
regulator-min-microvolt = <0x325aa0>;
regulator-max-microvolt = <0x325aa0>;
regulator-always-on;
regulator-name = "3v3";
};

cpus {
enable-method = "brcm,bcm2836-smp";
#address-cells = <0x1>;
#size-cells = <0x0>;
phandle = <0x75>;

cpu@3 {
compatible = "arm,cortex-a53";
cpu-release-addr = <0x0 0xf0>;
device_type = "cpu";
enable-method = "spin-table";
phandle = <0x2d>;
reg = <0x3>;
clock-frequency = "SrN";
};

cpu@1 {
compatible = "arm,cortex-a53";
cpu-release-addr = <0x0 0xe0>;
device_type = "cpu";
enable-method = "spin-table";
phandle = <0x2b>;
reg = <0x1>;
clock-frequency = "SrN";
};

cpu@2 {
compatible = "arm,cortex-a53";
cpu-release-addr = <0x0 0xe8>;
device_type = "cpu";
enable-method = "spin-table";
phandle = <0x2c>;
reg = <0x2>;
clock-frequency = "SrN";
};

cpu@0 {
compatible = "arm,cortex-a53";
cpu-release-addr = <0x0 0xd8>;
device_type = "cpu";
enable-method = "spin-table";
phandle = <0x2a>;
reg = <0x0>;
clock-frequency = "SrN";
};
};

fixedregulator_5v0 {
compatible = "regulator-fixed";
phandle = <0x76>;
regulator-min-microvolt = <0x4c4b40>;
regulator-max-microvolt = <0x4c4b40>;
regulator-always-on;
regulator-name = "5v0";
};

axi {

vc_mem {
reg = <0x3ec00000 0x40000000 0xc0000000>;
};
};
};

Output of command
dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.14.62-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1134 SMP Tue Aug 14 17:10:10 BST 2018
[ 0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Raspberry Pi 3 Model B Plus Rev 1.3
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] cma: Reserved 8 MiB at 0x3ac00000
[ 0.000000] On node 0 totalpages: 242688
[ 0.000000] free_area_init_node: node 0, pgdat 80c85000, node_mem_map ba39f000
[ 0.000000] Normal zone: 2133 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 242688 pages, LIFO batch:31
[ 0.000000] percpu: Embedded 17 pages/cpu @ba348000 s38720 r8192 d22720 u69632
[ 0.000000] pcpu-alloc: s38720 r8192 d22720 u69632 alloc=17*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 240555
[ 0.000000] Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=1f54f620-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash plymouth.ignore-serial-consoles
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 940228K/970752K available (7168K kernel code, 575K rwdata, 2076K rodata, 1024K init, 706K bss, 22332K reserved, 8192K cma-reserved)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xbb800000 - 0xff800000 (1088 MB)
lowmem : 0x80000000 - 0xbb400000 ( 948 MB)
modules : 0x7f000000 - 0x80000000 ( 16 MB)
.text : 0x80008000 - 0x80800000 (8160 kB)
.init : 0x80b00000 - 0x80c00000 (1024 kB)
.data : 0x80c00000 - 0x80c8fef4 ( 576 kB)
.bss : 0x80c96f34 - 0x80d478b4 ( 707 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 25267 entries in 75 pages
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000007] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000019] Switching to timer-based delay loop, resolution 52ns
[ 0.000264] Console: colour dummy device 80x30
[ 0.000282] console [tty1] enabled
[ 0.000307] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.000322] pid_max: default: 32768 minimum: 301
[ 0.000635] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000650] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001589] Disabling memory control group subsystem
[ 0.001665] CPU: Testing write buffer coherency: ok
[ 0.002072] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.002472] Setting up static identity map for 0x100000 - 0x10003c
[ 0.002593] Hierarchical SRCU implementation.
[ 0.003266] smp: Bringing up secondary CPUs ...
[ 0.004036] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.004866] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[ 0.005684] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[ 0.005787] smp: Brought up 1 node, 4 CPUs
[ 0.005798] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.005803] CPU: All CPU(s) started in HYP mode.
[ 0.005807] CPU: Virtualization extensions available.
[ 0.006682] devtmpfs: initialized
[ 0.016987] random: get_random_u32 called from bucket_table_alloc+0xfc/0x24c with crng_init=0
[ 0.017748] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[ 0.017969] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.017986] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.018540] pinctrl core: initialized pinctrl subsystem
[ 0.019280] NET: Registered protocol family 16
[ 0.022031] DMA: preallocated 1024 KiB pool for atomic coherent allocations
[ 0.026965] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.026972] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.027170] Serial: AMBA PL011 UART driver
[ 0.028824] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.029288] uart-pl011 3f201000.serial: could not find pctldev for node /soc/gpio@7e200000/uart0_pins, deferring probe
[ 0.061291] bcm2835-dma 3f007000.dma: DMA legacy API manager at bb813000, dmachans=0x1
[ 0.062710] SCSI subsystem initialized
[ 0.062930] usbcore: registered new interface driver usbfs
[ 0.062982] usbcore: registered new interface driver hub
[ 0.063070] usbcore: registered new device driver usb
[ 0.070093] raspberrypi-firmware soc:firmware: Attached to firmware from 2018-08-16 17:30
[ 0.071500] clocksource: Switched to clocksource arch_sys_counter
[ 0.148073] VFS: Disk quotas dquot_6.6.0
[ 0.148158] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.148338] FS-Cache: Loaded
[ 0.148542] CacheFiles: Loaded
[ 0.157438] NET: Registered protocol family 2
[ 0.158158] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.158267] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.158452] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.158579] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.158623] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.158847] NET: Registered protocol family 1
[ 0.159293] RPC: Registered named UNIX socket transport module.
[ 0.159299] RPC: Registered udp transport module.
[ 0.159304] RPC: Registered tcp transport module.
[ 0.159309] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.160909] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[ 0.163656] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[ 0.171788] FS-Cache: Netfs 'nfs' registered for caching
[ 0.172391] NFS: Registering the id_resolver key type
[ 0.172420] Key type id_resolver registered
[ 0.172425] Key type id_legacy registered
[ 0.172440] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.174369] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[ 0.174497] io scheduler noop registered
[ 0.174503] io scheduler deadline registered (default)
[ 0.174781] io scheduler cfq registered
[ 0.174788] io scheduler mq-deadline registered
[ 0.174794] io scheduler kyber registered
[ 0.177063] BCM2708FB: allocated DMA memory fad00000
[ 0.177088] BCM2708FB: allocated DMA channel 0 @ bb813000
[ 0.221497] NOHZ: local_softirq_pending 80
[ 0.227257] Console: switching to colour frame buffer device 228x61
[ 0.257442] bcm2835-rng 3f104000.rng: hwrng registered
[ 0.257572] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 0.258057] vc-sm: Videocore shared memory driver
[ 0.258333] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 0.268105] brd: module loaded
[ 0.277024] loop: module loaded
[ 0.277038] Loading iSCSI transport class v2.0-870.
[ 0.277723] libphy: Fixed MDIO Bus: probed
[ 0.277822] usbcore: registered new interface driver lan78xx
[ 0.277876] usbcore: registered new interface driver smsc95xx
[ 0.277891] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 0.305800] dwc_otg 3f980000.usb: base=0xf0980000
[ 0.421496] NOHZ: local_softirq_pending 80
[ 0.441497] NOHZ: local_softirq_pending 80
[ 0.461496] NOHZ: local_softirq_pending 80
[ 0.481496] NOHZ: local_softirq_pending 80
[ 0.501496] NOHZ: local_softirq_pending 80
[ 0.506025] Core Release: 2.80a
[ 0.506053] Setting default values for core params
[ 0.506085] Finished setting default values for core params
[ 0.706335] Using Buffer DMA mode
[ 0.706341] Periodic Transfer Interrupt Enhancement - disabled
[ 0.706346] Multiprocessor Interrupt Enhancement - disabled
[ 0.706353] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 0.706365] Dedicated Tx FIFOs mode
[ 0.706730] WARN::dwc_otg_hcd_init:1046: FIQ DMA bounce buffers: virt = 0xbad14000 dma = 0xfad14000 len=9024
[ 0.706756] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 0.706763] dwc_otg: Microframe scheduler enabled
[ 0.706818] WARN::hcd_init_fiq:459: FIQ on core 1 at 0x805e8e80
[ 0.706829] WARN::hcd_init_fiq:460: FIQ ASM at 0x805e91e8 length 36
[ 0.706843] WARN::hcd_init_fiq:486: MPHI regs_base at 0xf0006000
[ 0.706896] dwc_otg 3f980000.usb: DWC OTG Controller
[ 0.706927] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 0.706957] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[ 0.707007] Init: Port Power? op_state=1
[ 0.707012] Init: Power Port (0)
[ 0.707216] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 0.707226] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 0.707235] usb usb1: Product: DWC OTG Controller
[ 0.707243] usb usb1: Manufacturer: Linux 4.14.62-v7+ dwc_otg_hcd
[ 0.707251] usb usb1: SerialNumber: 3f980000.usb
[ 0.707873] hub 1-0:1.0: USB hub found
[ 0.707914] hub 1-0:1.0: 1 port detected
[ 0.708458] dwc_otg: FIQ enabled
[ 0.708465] dwc_otg: NAK holdoff enabled
[ 0.708469] dwc_otg: FIQ split-transaction FSM enabled
[ 0.708481] Module dwc_common_port init
[ 0.708740] usbcore: registered new interface driver usb-storage
[ 0.708912] mousedev: PS/2 mouse device common for all mice
[ 0.708987] IR NEC protocol handler initialized
[ 0.708992] IR RC5(x/sz) protocol handler initialized
[ 0.708999] IR RC6 protocol handler initialized
[ 0.709003] IR JVC protocol handler initialized
[ 0.709008] IR Sony protocol handler initialized
[ 0.709014] IR SANYO protocol handler initialized
[ 0.709019] IR Sharp protocol handler initialized
[ 0.709023] IR MCE Keyboard/mouse protocol handler initialized
[ 0.709028] IR XMP protocol handler initialized
[ 0.709713] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
[ 0.709982] bcm2835-cpufreq: min=600000 max=1400000
[ 0.710332] sdhci: Secure Digital Host Controller Interface driver
[ 0.710337] sdhci: Copyright(c) Pierre Ossman
[ 0.710680] mmc-bcm2835 3f300000.mmc: could not get clk, deferring probe
[ 0.710997] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 0.711088] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.712530] ledtrig-cpu: registered to indicate activity on CPUs
[ 0.712683] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.712836] usbcore: registered new interface driver usbhid
[ 0.712841] usbhid: USB HID core driver
[ 0.713475] vchiq: vchiq_init_state: slot_zero = bad80000, is_master = 0
[ 0.715031] [vc_sm_connected_init]: start
[ 0.724478] [vc_sm_connected_init]: end - returning 0
[ 0.725063] Initializing XFRM netlink socket
[ 0.725087] NET: Registered protocol family 17
[ 0.725185] Key type dns_resolver registered
[ 0.725730] Registering SWP/SWPB emulation handler
[ 0.726329] registered taskstats version 1
[ 0.732350] uart-pl011 3f201000.serial: cts_event_workaround enabled
[ 0.732430] 3f201000.serial: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[ 0.734355] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[ 0.734366] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[ 0.792128] sdhost: log_buf @ bad13000 (fad13000)
[ 0.828834] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 0.830403] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.831976] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 0.834755] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 0.871521] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 0.872590] of_cfs_init
[ 0.872689] of_cfs_init: OK
[ 0.873282] Waiting for root device PARTUUID=1f54f620-02...
[ 0.912865] random: fast init done
[ 0.919986] mmc1: new high speed SDIO card at address 0001
[ 0.921611] Indeed it is in host mode hprt0 = 00021501
[ 0.988484] mmc0: host does not support reading read-only switch, assuming write-enable
[ 0.991242] mmc0: new high speed SDXC card at address 0001
[ 0.991752] mmcblk0: mmc0:0001 EC2QT 59.6 GiB
[ 0.993170] mmcblk0: p1 p2
[ 1.004956] EXT4-fs (mmcblk0p2): INFO: recovery required on readonly filesystem
[ 1.004963] EXT4-fs (mmcblk0p2): write access will be enabled during recovery
[ 1.011940] NOHZ: local_softirq_pending 40
[ 1.032555] NOHZ: local_softirq_pending 40
[ 1.039052] NOHZ: local_softirq_pending 40
[ 1.059302] NOHZ: local_softirq_pending 40
[ 1.131536] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.131670] Indeed it is in host mode hprt0 = 00001101
[ 1.371849] usb 1-1: New USB device found, idVendor=0424, idProduct=2514
[ 1.371861] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.372592] hub 1-1:1.0: USB hub found
[ 1.372687] hub 1-1:1.0: 4 ports detected
[ 1.691541] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 1.821769] usb 1-1.1: New USB device found, idVendor=0424, idProduct=2514
[ 1.821782] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.822441] hub 1-1.1:1.0: USB hub found
[ 1.822534] hub 1-1.1:1.0: 3 ports detected
[ 1.919300] EXT4-fs (mmcblk0p2): recovery complete
[ 1.921544] usb 1-1.3: new low-speed USB device number 4 using dwc_otg
[ 1.945159] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.945219] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.953389] devtmpfs: mounted
[ 1.956486] Freeing unused kernel memory: 1024K
[ 2.066482] usb 1-1.3: New USB device found, idVendor=046d, idProduct=c077
[ 2.066496] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.066531] usb 1-1.3: Product: USB Optical Mouse
[ 2.066540] usb 1-1.3: Manufacturer: Logitech
[ 2.070499] input: Logitech USB Optical Mouse as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/1-1.3:1.0/0003:046D:C077.0001/input/input0
[ 2.070888] hid-generic 0003:046D:C077.0001: input,hidraw0: USB HID v1.11 Mouse [Logitech USB Optical Mouse] on usb-3f980000.usb-1.3/input0
[ 2.171567] usb 1-1.1.2: new low-speed USB device number 5 using dwc_otg
[ 2.338357] usb 1-1.1.2: New USB device found, idVendor=413c, idProduct=2107
[ 2.338371] usb 1-1.1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.338380] usb 1-1.1.2: Product: Dell USB Entry Keyboard
[ 2.338389] usb 1-1.1.2: Manufacturer: Dell
[ 2.353369] input: Dell Dell USB Entry Keyboard as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2/1-1.1.2:1.0/0003:413C:2107.0002/input/input1
[ 2.357374] systemd[1]: System time before build time, advancing clock.
[ 2.422157] hid-generic 0003:413C:2107.0002: input,hidraw1: USB HID v1.10 Keyboard [Dell Dell USB Entry Keyboard] on usb-3f980000.usb-1.1.2/input0
[ 2.489561] NET: Registered protocol family 10
[ 2.490815] Segment Routing with IPv6
[ 2.500817] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.519636] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.525191] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 2.525787] systemd[1]: Detected architecture arm.
[ 2.526843] systemd[1]: Set hostname to .
[ 2.569181] random: systemd: uninitialized urandom read (16 bytes read)
[ 2.589445] random: systemd-cryptse: uninitialized urandom read (16 bytes read)
[ 2.721593] usb 1-1.1.1: new high-speed USB device number 6 using dwc_otg
[ 2.862043] usb 1-1.1.1: New USB device found, idVendor=0424, idProduct=7800
[ 2.862060] usb 1-1.1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.028054] systemd[1]: Created slice System Slice.
[ 3.031854] systemd[1]: Mounting RPC Pipe File System...
[ 3.033093] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 3.033723] systemd[1]: Listening on Journal Socket.
[ 3.038633] systemd[1]: Starting Restore / save the current clock...
[ 3.039270] systemd[1]: Listening on udev Kernel Socket.
[ 3.065712] systemd[1]: Reached target Swap.
[ 3.162179] libphy: lan78xx-mdiobus: probed
[ 3.245763] i2c /dev entries driver
[ 3.750677] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 3.843111] systemd-journald[97]: Received request to flush runtime journal from PID 1
[ 4.433084] snd_bcm2835: module is from the staging directory, the quality is unknown, you have been warned.
[ 4.436479] bcm2835_alsa bcm2835_alsa: card created with 8 channels
[ 4.455098] brcmfmac: F1 signature read @0x18000000=0x15264345
[ 4.472349] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac43455-sdio.bin for chip 0x004345(17221) rev 0x000006
[ 4.473192] usbcore: registered new interface driver brcmfmac
[ 4.653568] random: crng init done
[ 4.653581] random: 7 urandom warning(s) missed due to ratelimiting
[ 4.771674] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Feb 27 2018 03:15:32 version 7.45.154 (r684107 CY) FWID 01-4fbe0b04
[ 4.772326] brcmfmac: brcmf_c_preinit_dcmds: CLM version = API: 12.2 Data: 9.10.105 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-03-09 18:56:28
[ 5.755476] uart-pl011 3f201000.serial: no DMA platform data
[ 6.096673] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 6.096706] brcmfmac: power management disabled
[ 6.372591] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 6.387699] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 7.786309] Adding 102396k swap on /var/swap. Priority:-2 extents:1 across:102396k SSFS
[ 12.348426] Bluetooth: Core ver 2.22
[ 12.348520] NET: Registered protocol family 31
[ 12.348526] Bluetooth: HCI device and connection manager initialized
[ 12.349493] Bluetooth: HCI socket layer initialized
[ 12.349510] Bluetooth: L2CAP socket layer initialized
[ 12.349548] Bluetooth: SCO socket layer initialized
[ 12.367320] Bluetooth: HCI UART driver ver 2.3
[ 12.367340] Bluetooth: HCI UART protocol H4 registered
[ 12.367346] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 12.367581] Bluetooth: HCI UART protocol Broadcom registered
[ 12.693805] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 12.693814] Bluetooth: BNEP filters: protocol multicast
[ 12.693826] Bluetooth: BNEP socket layer initialized
[ 12.747394] Bluetooth: RFCOMM TTY layer initialized
[ 12.747442] Bluetooth: RFCOMM socket layer initialized
[ 12.747461] Bluetooth: RFCOMM ver 1.11
[ 13.561705] fuse init (API version 7.26)

Output of command
ls /dev/fb*
/dev/fb0

@XECDesign
Copy link
Contributor

If I remember correctly, the clock is intentionally slowed down to give the firmware on the HAT enough time to avoid clock stretching and avoid hitting the clock stretching bug.

@mme384
Copy link
Author

mme384 commented Oct 30, 2018

Thank you for your answer. I.e., I can not increase the I2C baud rate. Any other suggestion how to improve the performance of the stepper motor HAT?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants