hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/arm/boot/dts/r8a7791-porter.dts
....@@ -28,10 +28,12 @@
2828 serial0 = &scif0;
2929 i2c9 = &gpioi2c2;
3030 i2c10 = &i2chdmi;
31
+ mmc0 = &sdhi0;
32
+ mmc1 = &sdhi2;
3133 };
3234
3335 chosen {
34
- bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
36
+ bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
3537 stdout-path = "serial0:115200n8";
3638 };
3739
....@@ -63,8 +65,7 @@
6365
6466 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
6567 gpios-states = <1>;
66
- states = <3300000 1
67
- 1800000 0>;
68
+ states = <3300000 1>, <1800000 0>;
6869 };
6970
7071 vcc_sdhi2: regulator-vcc-sdhi2 {
....@@ -85,8 +86,7 @@
8586
8687 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
8788 gpios-states = <1>;
88
- states = <3300000 1
89
- 1800000 0>;
89
+ states = <3300000 1>, <1800000 0>;
9090 };
9191
9292 hdmi-out {
....@@ -164,7 +164,6 @@
164164 composite-in@20 {
165165 compatible = "adi,adv7180";
166166 reg = <0x20>;
167
- remote = <&vin0>;
168167
169168 port {
170169 adv7180: endpoint {
....@@ -183,8 +182,6 @@
183182 adi,input-depth = <8>;
184183 adi,input-colorspace = "rgb";
185184 adi,input-clock = "1x";
186
- adi,input-style = <1>;
187
- adi,input-justification = "evenly";
188185
189186 ports {
190187 #address-cells = <1>;
....@@ -225,6 +222,11 @@
225222
226223 phy1_pins: phy1 {
227224 groups = "intc_irq0";
225
+ function = "intc";
226
+ };
227
+
228
+ pmic_irq_pins: pmicirq {
229
+ groups = "intc_irq2";
228230 function = "intc";
229231 };
230232
....@@ -304,6 +306,7 @@
304306 interrupt-parent = <&irqc0>;
305307 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
306308 micrel,led-mode = <1>;
309
+ reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
307310 };
308311 };
309312
....@@ -373,6 +376,8 @@
373376 };
374377
375378 &i2c6 {
379
+ pinctrl-names = "default";
380
+ pinctrl-0 = <&pmic_irq_pins>;
376381 status = "okay";
377382 clock-frequency = <100000>;
378383