Skip to content

Instantly share code, notes, and snippets.

@notro
Created October 3, 2016 16:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save notro/67d56da6b73ebc473ecd2f826b05242d to your computer and use it in GitHub Desktop.
Save notro/67d56da6b73ebc473ecd2f826b05242d to your computer and use it in GitHub Desktop.
--- /dev/fd/63 2016-10-03 16:20:14.472032117 +0200
+++ /dev/fd/62 2016-10-03 16:20:14.476032116 +0200
@@ -18,8 +18,8 @@
i2c0_baudrate = [00 00 00 1d 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
i2c1 = [00 00 00 1e 73 74 61 74 75 73 00];
i2c1_baudrate = [00 00 00 1e 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
- i2c2_baudrate = [00 00 00 0e 63 6c 6f 63 6b 2d 66 72 65 71 75 65 6e 63 79 3a 30 00];
- i2c2_iknowwhatimdoing = [00 00 00 0e 73 74 61 74 75 73 00];
+ i2c2_baudrate = "", "", "", "\rclock-frequency:0";
+ i2c2_iknowwhatimdoing = "", "", "", "\rstatus";
i2s = [00 00 00 1b 73 74 61 74 75 73 00];
random = "", "", "", "\"status";
sd_debug = "", "", "", "#brcm,debug";
@@ -35,7 +35,6 @@
aliases {
audio = "/soc/audio";
aux = "/soc/aux@0x7e215000";
- clocks = "/clocks";
dma = "/soc/dma@7e007000";
fb = "/soc/fb";
gpio = "/soc/gpio@7e200000";
@@ -44,7 +43,7 @@
i2c2 = "/soc/i2c@7e805000";
i2s = "/soc/i2s@7e203000";
intc = "/soc/interrupt-controller@7e00b200";
- leds = "/soc/leds";
+ leds = "/leds";
mailbox = "/soc/mailbox@7e00b800";
mmc = "/soc/mmc@7e300000";
random = "/soc/rng@7e104000";
@@ -53,7 +52,7 @@
sound = "/soc/sound";
spi0 = "/soc/spi@7e204000";
spi1 = "/soc/spi@7e215080";
- spi2 = "/soc/spi@7e2150C0";
+ spi2 = "/soc/spi@7e2150c0";
thermal = "/soc/thermal";
uart0 = "/soc/serial@7e201000";
uart1 = "/soc/serial@7e215040";
@@ -66,19 +65,19 @@
bootargs = [00];
};
- clocks: clocks {
+ clocks {
#address-cells = <0x1>;
#size-cells = <0x0>;
compatible = "simple-bus";
- clk_osc: clock@6 {
+ clk_osc: clock@3 {
#clock-cells = <0x0>;
clock-frequency = <0x124f800>;
clock-output-names = "osc";
compatible = "fixed-clock";
linux,phandle = <0x3>;
phandle = <0x3>;
- reg = <0x6>;
+ reg = <0x3>;
};
};
@@ -123,6 +122,18 @@
};
};
+ leds: leds {
+ compatible = "gpio-leds";
+
+ act_led: act {
+ gpios = <0x13 0x0 0x0>;
+ label = "led0";
+ linux,default-trigger = "mmc0";
+ linux,phandle = <0x1f>;
+ phandle = <0x1f>;
+ };
+ };
+
memory {
device_type = "memory";
reg = <0x0 0x0>;
@@ -145,7 +156,7 @@
compatible = "brcm,bcm2835-audio";
linux,phandle = <0x20>;
phandle = <0x20>;
- pinctrl-0 = <0x13>;
+ pinctrl-0 = <0x12>;
pinctrl-names = "default";
status = "disabled";
};
@@ -159,7 +170,7 @@
reg = <0x7e215000 0x8>;
};
- cprman: cprman@7e101000 {
+ cprman: clocks: cprman@7e101000 {
#clock-cells = <0x1>;
clocks = <0x3>;
compatible = "brcm,bcm2835-cprman";
@@ -209,15 +220,15 @@
gpio-controller;
interrupt-controller;
interrupts = <0x2 0x11 0x2 0x12>;
- linux,phandle = <0x7>;
- phandle = <0x7>;
+ linux,phandle = <0x9>;
+ phandle = <0x9>;
reg = <0x7e200000 0xb4>;
audio_pins: audio_pins {
brcm,function;
brcm,pins;
- linux,phandle = <0x13>;
- phandle = <0x13>;
+ linux,phandle = <0x12>;
+ phandle = <0x12>;
};
i2c0_pins: i2c0 {
@@ -230,8 +241,8 @@
i2c1_pins: i2c1 {
brcm,function = <0x4>;
brcm,pins = <0x2 0x3>;
- linux,phandle = <0xd>;
- phandle = <0xd>;
+ linux,phandle = <0xc>;
+ phandle = <0xc>;
};
i2s_pins: i2s {
@@ -245,32 +256,31 @@
brcm,function = <0x7>;
brcm,pins = <0x30 0x31 0x32 0x33 0x34 0x35>;
brcm,pull = <0x0 0x2 0x2 0x2 0x2 0x2>;
- linux,phandle = <0xc>;
- phandle = <0xc>;
+ linux,phandle = <0xf>;
+ phandle = <0xf>;
};
spi0_cs_pins: spi0_cs_pins {
brcm,function = <0x1>;
brcm,pins = <0x8 0x7>;
- linux,phandle = <0x9>;
- phandle = <0x9>;
+ linux,phandle = <0x8>;
+ phandle = <0x8>;
};
spi0_pins: spi0_pins {
brcm,function = <0x4>;
brcm,pins = <0x9 0xa 0xb>;
- linux,phandle = <0x8>;
- phandle = <0x8>;
+ linux,phandle = <0x7>;
+ phandle = <0x7>;
};
};
gpiomem {
compatible = "brcm,bcm2835-gpiomem";
reg = <0x7e200000 0x1000>;
- status = "okay";
};
- gpu: gpu {
+ gpu: vc4: gpu {
compatible = "brcm,bcm2835-vc4";
status = "disabled";
};
@@ -279,15 +289,17 @@
clock-names = "pixel", "hdmi";
clocks = <0x4 0x10 0x4 0x19>;
compatible = "brcm,bcm2835-hdmi";
- ddc = <0xe>;
- hpd-gpios = <0x7 0x2e 0x1>;
- power-domains = <0xf 0x5>;
+ ddc = <0xd>;
+ hpd-gpios = <0x9 0x2e 0x1>;
+ interrupts = <0x2 0x8 0x2 0x9>;
+ power-domains = <0xe 0x5>;
reg = <0x7e902000 0x600 0x7e808000 0x100>;
status = "disabled";
};
hvs: hvs@7e400000 {
compatible = "brcm,bcm2835-hvs";
+ interrupts = <0x2 0x1>;
reg = <0x7e400000 0x6000>;
status = "disabled";
};
@@ -316,7 +328,7 @@
interrupts = <0x2 0x15>;
linux,phandle = <0x1e>;
phandle = <0x1e>;
- pinctrl-0 = <0xd>;
+ pinctrl-0 = <0xc>;
pinctrl-names = "default";
reg = <0x7e804000 0x1000>;
status = "disabled";
@@ -329,8 +341,8 @@
clocks = <0x4 0x14>;
compatible = "brcm,bcm2708-i2c";
interrupts = <0x2 0x15>;
- linux,phandle = <0xe>;
- phandle = <0xe>;
+ linux,phandle = <0xd>;
+ phandle = <0xd>;
reg = <0x7e805000 0x1000>;
status = "disabled";
};
@@ -360,18 +372,6 @@
reg = <0x7e00b200 0x200>;
};
- leds: leds {
- compatible = "gpio-leds";
-
- act_led: act {
- gpios = <0x12 0x0 0x0>;
- label = "led0";
- linux,default-trigger = "mmc0";
- linux,phandle = <0x1f>;
- phandle = <0x1f>;
- };
- };
-
local_intc: local_intc {
#interrupt-cells = <0x1>;
compatible = "brcm,bcm2836-l1-intc";
@@ -400,7 +400,7 @@
dmas = <0x5 0xb>;
interrupts = <0x2 0x1e>;
non-removable;
- pinctrl-0 = <0xc>;
+ pinctrl-0 = <0xf>;
pinctrl-names = "default";
reg = <0x7e300000 0x100>;
status = "okay";
@@ -408,18 +408,21 @@
pixelvalve0: pixelvalve@7e206000 {
compatible = "brcm,bcm2835-pixelvalve0";
+ interrupts = <0x2 0xd>;
reg = <0x7e206000 0x100>;
status = "disabled";
};
pixelvalve1: pixelvalve@7e207000 {
compatible = "brcm,bcm2835-pixelvalve1";
+ interrupts = <0x2 0xe>;
reg = <0x7e207000 0x100>;
status = "disabled";
};
pixelvalve2: pixelvalve@7e807000 {
compatible = "brcm,bcm2835-pixelvalve2";
+ interrupts = <0x2 0xa>;
reg = <0x7e807000 0x100>;
status = "disabled";
};
@@ -428,8 +431,8 @@
#power-domain-cells = <0x1>;
compatible = "raspberrypi,bcm2835-power";
firmware = <0x11>;
- linux,phandle = <0xf>;
- phandle = <0xf>;
+ linux,phandle = <0xe>;
+ phandle = <0xe>;
};
pwm: pwm@7e20c000 {
@@ -447,7 +450,6 @@
linux,phandle = <0x22>;
phandle = <0x22>;
reg = <0x7e104000 0x10>;
- status = "okay";
};
sdhost: sdhost@7e202000 {
@@ -473,7 +475,6 @@
linux,phandle = <0x19>;
phandle = <0x19>;
reg = <0x7e201000 0x1000>;
- status = "disabled";
};
uart1: serial@7e215040 {
@@ -502,18 +503,18 @@
status = "disabled";
};
- spi0: spi@7e204000 {
+ spi0: spi: spi@7e204000 {
#address-cells = <0x1>;
#size-cells = <0x0>;
clocks = <0x4 0x14>;
compatible = "brcm,bcm2835-spi";
- cs-gpios = <0x7 0x8 0x1 0x7 0x7 0x1>;
+ cs-gpios = <0x9 0x8 0x1 0x9 0x7 0x1>;
dma-names = "tx", "rx";
dmas = <0x5 0x6 0x5 0x7>;
interrupts = <0x2 0x16>;
linux,phandle = <0x1c>;
phandle = <0x1c>;
- pinctrl-0 = <0x8 0x9>;
+ pinctrl-0 = <0x7 0x8>;
pinctrl-names = "default";
reg = <0x7e204000 0x1000>;
status = "disabled";
@@ -545,7 +546,7 @@
status = "disabled";
};
- spi2: spi@7e2150C0 {
+ spi2: spi@7e2150c0 {
#address-cells = <0x1>;
#size-cells = <0x0>;
clocks = <0xb 0x2>;
@@ -574,6 +575,8 @@
};
usb: usb@7e980000 {
+ #address-cells = <0x1>;
+ #size-cells = <0x0>;
compatible = "brcm,bcm2708-usb";
interrupts = <0x2 0x0 0x1 0x9>;
reg = <0x7e980000 0x10000 0x7e006000 0x1000>;
@@ -581,6 +584,7 @@
v3d: v3d@7ec00000 {
compatible = "brcm,vc4-v3d";
+ interrupts = <0x1 0xa>;
reg = <0x7ec00000 0x1000>;
status = "disabled";
};
@@ -600,8 +604,8 @@
compatible = "brcm,bcm2835-virtgpio";
firmware = <0x11>;
gpio-controller;
- linux,phandle = <0x12>;
- phandle = <0x12>;
+ linux,phandle = <0x13>;
+ phandle = <0x13>;
status = "okay";
};
@@ -610,7 +614,6 @@
linux,phandle = <0x21>;
phandle = <0x21>;
reg = <0x7e100000 0x28>;
- status = "okay";
};
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment